3 ms·
Industry prefers hand written parsers for a reasons. Parser generators feel like an academic dream
by hardware2win 4y ago
Industry prefers hand written parsers for a reasons.
Parser generators feel like an academic dream
- spockz 4y agoWhy is this? I come from academia and I have yet to encounter a good argument for not using parser combinators, in new applications. Can you please point to some reason?
- not2b 4y agoCompilers have moved away from parser generators in favor of hand-written recursive descent parsers in many cases, and the main reason has been to produce high-quality error messages. In the special case of C++, another problem has been that the language is not LR(n) for any n; unbounded lookahead can be required in some cases.