Re:What's in a Parser Combinator? (2016)
by mathgladiator on Friday May 29, 2020 @06:04AM
(#23348185)
only anecdotal and observations over the years
https://www.drdobbs.com/architecture-and-design/so-you-want-...
A common theme is that the parser generator does not provide you the tools to write the high quality error messages. Having used ANTLR and other tools, I believe it now that I'm trying to ship a real language.
You're talking about parser generators... the article is about parser combinators. Fully agreed that parser generators are often very limited and often require hacks to do anything non-trivial.
(IME MegaParsec basically solves most of the issues.)
What? Do you have any data you'd like to share?
I'm given to understand that e.g. the C++ compilers usually have a hand-coded, but AFAIUI that's mostly due to the complexity of actually parsing it (and fitting that into anything other than just raw code).