Hacker News new | ask | show | jobs
by mattfenwick 4522 days ago
What is your approach for generating error messages during parsing?
1 comments

Ad-hoc, with the proviso that error recovery should always consume tokens, so the parser can never get stuck in a loop.