package catala
Compiler and library for the literate programming language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.5.0.tar.gz
md5=41b0317af37925b16ae7aedfddbcc8b4
sha512=f02c4e4c7d8ca92c4c2100d1dfc31c56218a8fae3760135335c9cdd10d9edbeb6eb5e407b430c095f579ce2226c3fe4c314788af5aa35c37d04e4dee5f459cb8
doc/catala.scopelang/Scopelang/Scope_to_dcalc/index.html
Module Scopelang.Scope_to_dcalc
Source
Source
val translate_program :
Ast.program ->
Scopelang.Ast.ScopeName.t ->
Dcalc.Ast.program
* Dcalc.Ast.expr Utils.Pos.marked
* Dependency.TVertex.t list
Usage translate_program p scope_name
returns a tuple (new_program, new_expr, types_list)
where new_program
is the map of translated scopes, new_expr
is the expression that bundles the whole program and whose entry point is the function corresponding to scope_name
. Finally, types_list
is a list of all types (structs and enums) used in the program, correctly ordered with respect to inter-types dependency.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>