7 ms·
Right parsers make this hard, since they can't tell you what they expected at a spot; only what what they parsed could fit into. Left parsers make it easy, bu
by aredridel 12y ago
Right parsers make this hard, since they can't tell you what they expected at a spot; only what what they parsed could fit into.
Left parsers make it easy, but aren't as powerful.
Marpa gives you everything you need for both -- a table of "what could happen here", and can parse left languages.