package catala

  1. Overview
  2. Docs
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.scalc/Scalc/Compile_from_lambda/index.html

Module Scalc.Compile_from_lambdaSource

Sourcemodule A = Ast
Sourcemodule L = Lcalc.Ast
module D = Dcalc.Ast
Sourcetype ctxt = {
  1. func_dict : A.TopLevelName.t L.VarMap.t;
  2. decl_ctx : D.decl_ctx;
  3. var_dict : A.LocalName.t L.VarMap.t;
  4. inside_definition_of : A.LocalName.t option;
  5. context_name : string;
}
Sourceval translate_expr : ctxt -> 'm L.marked_expr -> A.block * A.expr Utils.Marked.pos
Sourceval translate_statements : ctxt -> 'm L.marked_expr -> A.block
Sourceval translate_program : 'm L.program -> A.program
OCaml

Innovation. Community. Security.