package ocaml-base-compiler

  1. Overview
  2. Docs
val compile_implementation_flambda : ?toplevel:(string -> bool) -> source_provenance:Timings.source_provenance -> string -> required_globals:Ident.Set.t -> backend:(module Backend_intf.S) -> Format.formatter -> Flambda.program -> unit
val compile_implementation_clambda : ?toplevel:(string -> bool) -> source_provenance:Timings.source_provenance -> 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 : source_provenance:Timings.source_provenance -> string -> string -> bool -> string -> (unit -> unit) -> unit
OCaml

Innovation. Community. Security.