val external_init : (unit -> unit) option Stdlib.refval out_dir : string list Stdlib.refval src : string list Stdlib.refval args : string list Stdlib.refval compile : bool Stdlib.refval run : bool Stdlib.refval script : bool Stdlib.refval mlstub : bool Stdlib.refval topstub : bool Stdlib.refval binarystub : bool Stdlib.refval version : unit -> 'aval parse_argv : unit -> unitval ppf : Stdlib.Format.formatterval ppf_err : Stdlib.Format.formatterval err : string -> 'aval mode : unit -> [> `Compile of string * string option | `Mlstub of string | `Run of string * string list | `Script of string * string list | `Toplevel of string list | `Topstub of string ]val bol : bool Stdlib.refval outflush : string -> unitval has_newline : Stdlib.Buffer.t -> boolval toploop : unit -> unitval main : unit -> unit