3 ms·
Pretty much all the good compilers (gcc,clang,...) have a hand-written parser. An exception is javac, but that one is a minimalistic parser. Handwritten parser
by qznc 14y ago
Pretty much all the good compilers (gcc,clang,...) have a hand-written parser. An exception is javac, but that one is a minimalistic parser.
Handwritten parsers have better error reporting and might even be faster.
- Locke1689 14y agoYes, that's called a production compiler. If you glance in my profile you will see I'm well aware of the practices of production compilers and also how few people ever even look inside one.