package catala
Compiler and library for the literate programming language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.10.0.tar.gz
md5=5abd76e8c51a47670645e91b21b57fc5
sha512=9c6fbe50c0b5a60566e877eeddadca0a339e2ce35deb5c1beceb03bc40eb6af2d519313e71859d88645b53fad591d4fa5288c633b185c9d765603da0f5b7dd7b
doc/catala.scopelang/Scopelang/Ast/index.html
Module Scopelang.Ast
Source
Abstract syntax tree of the scope language
Identifiers
Abstract syntax tree
Source
type 'm rule =
| ScopeVarDefinition of {
var : Shared_ast.ScopeVar.t Catala_utils.Mark.pos;
typ : Shared_ast.typ;
io : Desugared.Ast.io;
e : 'm expr;
}
| SubScopeVarDefinition of {
var : Shared_ast.ScopeVar.t Catala_utils.Mark.pos;
(*Variable within the current scope
*)var_within_origin_scope : Shared_ast.ScopeVar.t;
typ : Shared_ast.typ;
e : 'm expr;
}
| Assertion of 'm expr
Source
type scope_var_ty = {
svar_in_ty : Shared_ast.typ;
svar_out_ty : Shared_ast.typ;
svar_io : Desugared.Ast.io;
}
Source
type 'm scope_decl = {
scope_decl_name : Shared_ast.ScopeName.t;
scope_sig : scope_var_ty Shared_ast.ScopeVar.Map.t;
scope_decl_rules : 'm rule list;
scope_options : Desugared.Ast.catala_option Catala_utils.Mark.pos list;
}
Source
type 'm program = {
program_module_name : Shared_ast.ModuleName.t option;
program_ctx : Shared_ast.decl_ctx;
program_modules : Shared_ast.nil scope_decl Catala_utils.Mark.pos Shared_ast.ScopeName.Map.t Shared_ast.ModuleName.Map.t;
program_scopes : 'm scope_decl Catala_utils.Mark.pos Shared_ast.ScopeName.Map.t;
program_topdefs : ('m expr * Shared_ast.typ) Shared_ast.TopdefName.Map.t;
program_lang : Catala_utils.Global.backend_lang;
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page