package catala
Low-level language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.3.0.tar.gz
md5=4a2c5495f30d8fc2e3bf977df6e602f9
sha512=8dcc404b6068b9dbd76982ade60d8fba1950fdd0a8a626db17429120483367dce1f51997e96d7b8ee5308f305c3bcbb897ef85336f25e9ef3681f4cb9237f56a
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)"
>