= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val init :
?flags:flags ->
builtins:builtins list ->
?file_resolver:(?cwd:string -> file:string -> unit -> string) ->
unit ->
elpi
Initialize ELPI.
init
must be called before invoking the parser.
Set tracing options. trace argv
can be called before Execute
. returns options not known to the trace system.
val set_warn : (?loc:Ast.Loc.t -> string -> unit) -> unit
Override default runtime error functions (they call exit)
val set_error : (?loc:Ast.Loc.t -> string -> 'a) -> unit
val set_anomaly : (?loc:Ast.Loc.t -> string -> 'a) -> unit
val set_type_error : (?loc:Ast.Loc.t -> string -> 'a) -> unit
val set_std_formatter : Format.formatter -> unit
val set_err_formatter : Format.formatter -> unit