Dervall/Piglet — Issue #2: Improved error reporting from parser
Author: Dervall
Created: 2012-02-15 08:05:55+00:00
State: open

* When defining a parser you should be able to output specific errors in the productions, instead of generic error messages
* The errors should probably be handled similarly to what other established tools do.
* Handling an error should make the parser continue, so that parsing can continue using a suitable panic mode (ignore tokens until a given token has been parsed)

Maybe an appropriate way would be to use a Func that returns a boolean if the error has been handled?