myna-parser icon indicating copy to clipboard operation
myna-parser copied to clipboard

Error recovery and continuation

Open cdiggins opened this issue 6 years ago • 0 comments

The next big thing for Myna will be partial recovery from errors, so that multiple errors can be detected in the code. See: http://duriansoftware.com/joe/Constructing-human-grade-parsers.html.

Basically I see special rules to indicate where to advance to in the case of an error, and returning an array of errors from a parse (empty array indicating success).

cdiggins avatar Mar 06 '18 02:03 cdiggins