4 ms·
Compilers have parsers, not languages. Many languages have more than one compiler (e.g., C), and the various compilers may use different techniques for parsing.
by prestonbriggs 5y ago
Compilers have parsers, not languages.
Many languages have more than one compiler (e.g., C), and the various compilers may use different techniques for parsing.
- eatonphil 5y agoThat's right! But HN has a title length limit. See the (actual) blog post title and the blog post contents. :)
- prestonbriggs 5y agoIndeed. But consider the 2nd sentence, the conclusion, and the twitter post. On the other hand, I certain agree with your idea about teach/using handwritten recursive-descent parsers. Here's an old book that presents it pretty clearly, along with a nice approach for error handling. Maybe you can find it in a library. https://www.springer.com/gp/book/9783540082408 https://www.springer.com/gp/book/9783540082408
- chrisseaton 5y agoNobody was mistaken about this fact.
- Zababa 5y agoTo be even more pedentic: implementations have parsers. Some programming languages are not compiled.