Frontend.Load
type error =
| LexingError of {
span : Basis.LexingUtil.span;
last_token : string option;
}
| ParseError of {
span : Basis.LexingUtil.span;
last_token : string option;
}
val load_file :
[ `Stdin | `File of string ] ->
(ConcreteSyntax.signature, error) Stdlib.result
val load_cmd :
Stdlib.Lexing.lexbuf ->
(ConcreteSyntax.repl_command, error) Stdlib.result