package catala
Compiler and library for the literate programming language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.9.0.tar.gz
md5=8f891209d18b6540df9c34b2d1a6a783
sha512=737770b87a057674bceefe77e8526720732552f51f424afcebcb6a628267eab522c4fd993caca1ae8ed7ace65a4a87e485af10c1676e51ca5939509a1b841ac2
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 =
| Definition of location Catala_utils.Mark.pos * Shared_ast.typ * Desugared.Ast.io * 'm expr
| Assertion of 'm expr
| Call of Shared_ast.ScopeName.t * Shared_ast.SubScopeName.t * 'm Shared_ast.mark
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.Cli.backend_lang;
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page