package catala

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.