3 ms·
> Terence Parr, author of ANTLR, often uses the metaphor of parsing as a maze As someone who had a technical but "not real CS" curriculum, I enjoyed Parr's "La
by Terr_ 11y ago
> Terence Parr, author of ANTLR, often uses the metaphor of parsing as a maze
As someone who had a technical but "not real CS" curriculum, I enjoyed Parr's "Language Implementation Patterns" book [0] because it illustrates how certain grammar-forms become recognizable code-patterns and control-flow.
Granted, it's definitely got a bent towards Parr's ANTLR project and the Java language, but I still found it made things "click" a lot better than my daunting lack of progress an old "Dragon Book" [1] which IIRC tended to float along with more mathy-notations and theory than concrete examples.
[0]: http://www.amazon.com/Language-Implementation-Patterns-Domain-Specific-Programming/dp/193435645X/ http://www.amazon.com/Language-Implementation-Patterns-Domai...
[1]: https://en.wikipedia.org/wiki/Compilers:_Principles,_Techniques,_and_Tools#First_edition https://en.wikipedia.org/wiki/Compilers:_Principles,_Techniq...