package ocaml-base-compiler

  1. Overview
  2. Docs
val compile_implementation_flambda : ?toplevel:(string -> bool) -> string -> required_globals:Ident.Set.t -> backend:(module Backend_intf.S) -> Format.formatter -> Flambda.program -> unit
val compile_implementation_clambda : ?toplevel:(string -> bool) -> string -> Format.formatter -> Lambda.program -> unit
val compile_phrase : Format.formatter -> Cmm.phrase -> unit
type error =
  1. | Assembler_error of string
exception Error of error
val report_error : Format.formatter -> error -> unit
val compile_unit : string -> string -> bool -> string -> (unit -> unit) -> unit