Scopelang.Scope_to_dcalcSourcetype scope_sigs_ctx =
((Ast.ScopeVar.t * Dcalc.Ast.typ) list * Dcalc.Ast.Var.t) Ast.ScopeMap.ttype 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;}val merge_defaults :
Dcalc.Ast.expr Pos.marked Bindlib.box ->
Dcalc.Ast.expr Pos.marked Bindlib.box ->
Dcalc.Ast.expr Pos.marked Bindlib.boxval translate_expr :
ctx ->
Ast.expr Pos.marked ->
Dcalc.Ast.expr Dcalc.Ast.Pos.marked Bindlib.boxval translate_rule :
ctx ->
Ast.rule ->
Ast.rule list ->
Utils.Uid.MarkedString.info ->
Dcalc.Ast.expr Pos.marked Bindlib.box * ctxval translate_rules :
ctx ->
Ast.rule list ->
Utils.Uid.MarkedString.info ->
Dcalc.Ast.expr Dcalc.Ast.Pos.marked Bindlib.box * ctxval translate_scope_decl :
Ast.struct_ctx ->
Ast.enum_ctx ->
scope_sigs_ctx ->
Ast.ScopeName.t ->
Ast.scope_decl ->
Dcalc.Ast.expr Pos.marked Bindlib.boxval build_scope_typ_from_sig :
(Ast.ScopeVar.t * Dcalc.Ast.typ) list ->
Pos.t ->
Dcalc.Ast.typ Pos.marked