News for hackers. Stuff that matters.
Re:Writing An Interpreter In Go (2016) by wyufro on Monday November 25, 2019 @07:29AM (#21627494)
In my experience the hardest part of using parser generators is to have them create understandable errors.

Also it's questionable that they add very much. Parsing text isn't all that difficult. The hard part is to get the tree structure of the AST right.

All in all the parsing is a quite small part of a compiler. I've converted from a parser generated to manual code in two different projects and they actually ended up with less lines of code after the conversion, if just barely.

There are no comments on this comment yet.