3 ms·
Handwritten recursive descent parsers offer much more control than the output of a parser generator. Most major C/C++ compiler front-ends do this.
by gilgoomesh 11y ago
Handwritten recursive descent parsers offer much more control than the output of a parser generator. Most major C/C++ compiler front-ends do this.
- vidarh 11y agoIn fact, very few production compilers use generated parsers - sooner or later they tend to end up with hand-written parsers for one reason or other. Particularly down to error reporting. Parser generators need to get much better before that will change.