aboutsummaryrefslogtreecommitdiffstats
path: root/lib/front.mli
blob: 00fa65f0e408cf387614033ffba1167e4cddc494 (plain) (blame)
1
2
3
4
5
6
7
(** Front door: text to statements.

    Wraps the generated lexer and parser so callers see one total
    function from source text to syntax or a positioned message.
    The REPL, the file runner, and the tests all enter here. *)

val parse_string : string -> (Ast.statement list, string) result