Hacker News new | ask | show | jobs
by aredridel 4297 days 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.