Module Fang_tiger.Parsing

Parsing Tiger fragments.

Parameters

Signature

val parse : Stdlib.Lexing.lexbuf -> (expr L.tparsing_error * source_span) Stdlib.result

Parse a Tiger expression.

Note that the Lexing.lexbuf must have position information, since the parser produces source spans for each fragment.