package catala
Compiler and library for the literate programming language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.8.0.tar.gz
md5=1408a1cce45c7d5990b981e83e7589c2
sha512=eb3b923aa1f743378b4a05e30f50be5d180dc862a716270d747a90e469017f42fa5fc41352f02fbbf59cd2560f91c4f1b32cf38d80085b105d9387b0aed2039d
doc/catala.dcalc/Dcalc/Interpreter/index.html
Module Dcalc.Interpreter
Source
Reference interpreter for the default calculus
Evaluates an expression according to the semantics of the default calculus.
Source
val interpret_program :
Shared_ast.decl_ctx ->
'm Ast.expr ->
(Catala_utils.Uid.MarkedString.info * 'm Ast.expr) list
Interprets a program. This function expects an expression typed as a function whose argument are all thunked. The function is executed by providing for each argument a thunked empty default. Returns a list of all the computed values for the scope variables of the executed scope.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>