val compile_implementation_flambda : ?toplevel:(string -> bool) -> string -> required_globals:Ident.Set.t -> backend:(module Backend_intf.S) -> ppf_dump:Stdlib.Format.formatter -> Flambda.program -> unit
val compile_implementation_clambda : ?toplevel:(string -> bool) -> string -> backend:(module Backend_intf.S) -> ppf_dump:Stdlib.Format.formatter -> Lambda.program -> unit
val compile_phrase : ppf_dump:Stdlib.Format.formatter -> Cmm.phrase -> unit
exception Error of error
val report_error : Stdlib.Format.formatter -> error -> unit
val compile_unit : string -> string -> bool -> string -> (unit -> unit) -> unit