News for hackers. Stuff that matters.
Re:The Internals of PostgreSQL by sanxiyn on Thursday January 27, 2022 @09:14AM (#30100800)
> it also gives you a better ability to write error messages

This is not true. Instead of trying to use error recovery feature of parser genrator, you can just add error case to your grammar, and it works as well as hand-written parser. Parser generator error recovery is pure bonus on top.

> and an easier time debugging compared to autogenerated solutions

This is also not true. Most parser generators (certainly lex/yacc) have good enough debug support that you never see generated code while you debug.

There are no comments on this comment yet.