lug
lug copied to clipboard
Error Handling and Recovery
Implement error recovery with labeled failures as described in the paper A parsing machine for parsing expression grammars with labeled failures.
Additionally, a mechanism in the parser should be implemented to allow users to handle/report syntax errors incrementally during parsing, as well as retrieving syntax errors post hoc.