package catala
Low-level language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.2.0.tar.gz
md5=4c6f725ef4d21c5ff91f60d74b454ef7
sha512=98806e03daa6f33740b80a0f78a37320fb70ebea8cb927ea8fed022673459189c32e2389ccba0fa25d93f754b0fa0128a5ee28e1bb9abefa330deb4be8cc7d95
doc/catala.scopelang/Scopelang/Scope_to_dcalc/index.html
Module Scopelang.Scope_to_dcalc
Source
Source
type scope_sigs_ctx =
((Ast.ScopeVar.t * Dcalc.Ast.typ) list * Dcalc.Ast.Var.t) Ast.ScopeMap.t
Source
type ctx = {
structs : Ast.struct_ctx;
enums : Ast.enum_ctx;
scope_name : Ast.ScopeName.t;
scopes_parameters : scope_sigs_ctx;
scope_vars : (Dcalc.Ast.Var.t * Dcalc.Ast.typ) Ast.ScopeVarMap.t;
subscope_vars : (Dcalc.Ast.Var.t * Dcalc.Ast.typ) Ast.ScopeVarMap.t Ast.SubScopeMap.t;
local_vars : Dcalc.Ast.Var.t Ast.VarMap.t;
}
Source
val merge_defaults :
Dcalc.Ast.expr Pos.marked Bindlib.box ->
Dcalc.Ast.expr Pos.marked Bindlib.box ->
Dcalc.Ast.expr Pos.marked Bindlib.box
Source
val translate_expr :
ctx ->
Ast.expr Pos.marked ->
Dcalc.Ast.expr Dcalc.Ast.Pos.marked Bindlib.box
Source
val translate_rule :
ctx ->
Ast.rule ->
Ast.rule list ->
Utils.Uid.MarkedString.info ->
Dcalc.Ast.expr Pos.marked Bindlib.box * ctx
Source
val translate_rules :
ctx ->
Ast.rule list ->
Utils.Uid.MarkedString.info ->
Dcalc.Ast.expr Dcalc.Ast.Pos.marked Bindlib.box * ctx
Source
val translate_scope_decl :
Ast.struct_ctx ->
Ast.enum_ctx ->
scope_sigs_ctx ->
Ast.ScopeName.t ->
Ast.scope_decl ->
Dcalc.Ast.expr Pos.marked Bindlib.box
Source
val build_scope_typ_from_sig :
(Ast.ScopeVar.t * Dcalc.Ast.typ) list ->
Pos.t ->
Dcalc.Ast.typ Pos.marked
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>