News for hackers. Stuff that matters.
Re:Compiler Construction by Niklaus Wirth [pdf] by MaxBarraclough on Friday January 31, 2020 @07:54PM (#22207663)
I'm reminded of another comment from some time ago [0] that recommended 'permissive' parsers for a different reason: you can build a list of syntax errors for the user, which isn't possible if you explode immediately, and you may be able to generate better syntax errors than your parser would have.

[0] https://news.ycombinator.com/item?id=17072670

There are no comments on this comment yet.