Back to the bookshelf

Typographic jacket · original cover not fetched

FROM THE SHARED SHELF · 2006–2026 SAMPLE

Programming Language Processors in Java: Compilers and Interpreters

David A. Watt and Deryck F. Brown

1 reader recommends it across 1 discussion

Topics are model-inferred labels.

Keep it on your reading list

THE WORD OF MOUTH

What made it worth passing on?

Original Hacker News comments, in the readers’ own words.

at
1. Programming Language Processors in Java: Compilers and Interpreters http://www.dcs.gla.ac.uk/~daw/books/PLPJ/ 2. The definitive ANTLR reference http://www.pragprog.com/titles/tpantlr 1. gives you a good introduction in how to write parsers from scratch (without lex/yacc'ish parsing frameworks), and is probably a good warm-up before the book you mention. 2. gives you an introduction to state-of-the parsing with a framework (antlr) + a some about compilation. Note: antlr also has a nice IDE for rapid developing/prototyping of parsers - antlrworks. See http://antlr.org for more info. A very nice parsing framework for Python is dparser. It allows you to write grammars as docstrings to methods, which makes it very easy to try out things http://www.ibm.com/developerworks/linux/library/l-cpdpars.ht... (http://www.ibm.com/developerworks/linux/library/l-cpdpars.html) http://dparser.sourceforge.net/ Definite Clause Grammars for Prolog is also worth a look (at least for reference)

Also recommended in this reply