package catala
Compiler and library for the literate programming language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.7.0.tar.gz
md5=6dbbc2f50c23693f26ab6f048e78172f
sha512=a5701e14932d8a866e2aa3731f76df85ff2a68b4fa943fd510c535913573274d66eaec1ae6fcae17f20b475876048a9ab196ef6d8c23d4ea6b90b986aa0a6daa
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 :
Ast.decl_ctx ->
'm Ast.marked_expr ->
(Utils.Uid.MarkedString.info * 'm Ast.marked_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)"
>