module Parse:Linking lexer and parser function, with (basic) error messagessig..end
exception Lex_error
val lex_eol : Lexing.lexbuf -> unitval parse_lexbuf : lexer:(Lexing.lexbuf -> 'a) ->
parser:((Lexing.lexbuf -> 'a) -> Lexing.lexbuf -> 'b) -> Lexing.lexbuf -> 'blexbuf,
Returns the AST built by the parser.
val parse_string : lexer:(Lexing.lexbuf -> 'a) ->
parser:((Lexing.lexbuf -> 'a) -> Lexing.lexbuf -> 'b) -> string -> 'blexbuf from the given string.val parse_file : lexer:(Lexing.lexbuf -> 'a) ->
parser:((Lexing.lexbuf -> 'a) -> Lexing.lexbuf -> 'b) -> string -> 'blexbuf from the given filename.