Software Development Team (soft-dev) company blog

Don't Panic! Better, Fewer, Syntax Errors for LR Parsers

Abstract Syntax errors are generally easy to fix for humans, but not for parsers in general nor LR parsers in particular. Traditional ‘panic mode’ error recovery, though easy to implement and applicable to any grammar, often leads to a cascading chain of errors that drown out the original. More advanced error recovery…
Points
114
HN comments
39
Submissions
1
Cited by
0 commenters

Programming LanguagesSoftware Engineering2020

On Hacker News

SubmittedTitle on HNPointsComments
Jul 15, 2020Don't Panic! Better, Fewer, Syntax Errors for LR Parsers by matt_d11439

More from Software Development Team (soft-dev)

All 2 posts →

Related posts from the same era