Middleend.AnfCopyright 2025-2026, Victoria Ostrovskaya & Danil Usoltsev
SPDX-License-Identifier: LGPL-3.0-or-later
val pp_immediate :
Ppx_deriving_runtime.Format.formatter ->
immediate ->
Ppx_deriving_runtime.unitval show_immediate : immediate -> Ppx_deriving_runtime.stringtype complex_expr = | ComplexImmediate of immediate| ComplexUnit| ComplexBinOper of Frontend.Ast.bin_oper * immediate * immediate| ComplexUnarOper of Frontend.Ast.unar_oper * immediate| ComplexTuple of immediate * immediate * immediate list| ComplexField of immediate * int| ComplexList of immediate list| ComplexOption of immediate option| ComplexApp of immediate * immediate * immediate list| ComplexLambda of Frontend.Ast.pattern list * anf_expr| ComplexBranch of immediate * anf_expr * anf_exprand anf_expr = | AnfLet of Frontend.Ast.is_rec * Frontend.Ast.ident * complex_expr * anf_expr| AnfExpr of complex_exprval pp_complex_expr :
Ppx_deriving_runtime.Format.formatter ->
complex_expr ->
Ppx_deriving_runtime.unitval show_complex_expr : complex_expr -> Ppx_deriving_runtime.stringval pp_anf_expr :
Ppx_deriving_runtime.Format.formatter ->
anf_expr ->
Ppx_deriving_runtime.unitval show_anf_expr : anf_expr -> Ppx_deriving_runtime.stringtype anf_bind = Frontend.Ast.ident * anf_exprval pp_anf_bind :
Ppx_deriving_runtime.Format.formatter ->
anf_bind ->
Ppx_deriving_runtime.unitval show_anf_bind : anf_bind -> Ppx_deriving_runtime.stringtype anf_fun_bind = Frontend.Ast.ident * arity * anf_exprval pp_anf_fun_bind :
Ppx_deriving_runtime.Format.formatter ->
anf_fun_bind ->
Ppx_deriving_runtime.unitval show_anf_fun_bind : anf_fun_bind -> Ppx_deriving_runtime.stringtype anf_structure = | AnfEval of anf_expr| AnfValue of Frontend.Ast.is_rec * anf_fun_bind * anf_fun_bind listval pp_anf_structure :
Ppx_deriving_runtime.Format.formatter ->
anf_structure ->
Ppx_deriving_runtime.unitval show_anf_structure : anf_structure -> Ppx_deriving_runtime.stringtype anf_program = anf_structure listval pp_anf_program :
Ppx_deriving_runtime.Format.formatter ->
anf_program ->
Ppx_deriving_runtime.unitval show_anf_program : anf_program -> Ppx_deriving_runtime.stringval anf_program : Frontend.Ast.program -> (anf_program, string) Stdlib.Result.t