package catala
Compiler and library for the literate programming language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.9.0.tar.gz
md5=8f891209d18b6540df9c34b2d1a6a783
sha512=737770b87a057674bceefe77e8526720732552f51f424afcebcb6a628267eab522c4fd993caca1ae8ed7ace65a4a87e485af10c1676e51ca5939509a1b841ac2
doc/catala.surface/Surface/Parser_driver/index.html
Module Surface.Parser_driver
Source
Wrapping module around parser and lexer that offers the Surface.Parser_driver.parse_source_file
API.
Source
val lines :
Catala_utils.File.t ->
Catala_utils.Cli.backend_lang ->
(string * Lexer_common.line_token) Seq.t
Raw file parser that doesn't interpret any includes and returns the flat law structure as is
Reads only declarations in metadata in the supplied input file, and only keeps type information. The list of submodules is initialised with names only and empty contents.
Parses a catala file (handling file includes) and returns a program. Interfaces of the used modules are returned empty, use load_interface
to fill them.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>