|A JavaCC book email@example.com (Tom Copeland) (2007-07-19)|
|Re: A JavaCC book firstname.lastname@example.org (Eric) (2007-07-23)|
|Re: A JavaCC book email@example.com (Tom Copeland) (2007-07-26)|
|Date:||Mon, 23 Jul 2007 15:12:10 -0700|
|Keywords:||Java, parse, books|
On Jul 19, 9:34 am, Tom Copeland <t...@infoether.com> wrote:
> Folks working with Java may be familiar with the LL(k) parser
> generator JavaCC. This fine utility has been around almost as long as
> Java has, but the documentation has always been slightly lacking.
> Thus my new book: "Generating Parsers With JavaCC".
Looks great! The source code examples haven't been posted yet but the
TOC looks good. I noted the cool chapter on testing the various parts
of a compiler with Junit. Automated testing is more than a current
fad, especially in the compiler business! Many hours can be saved this
way and the savings are almost guranteed to dwarf the extra time
needed to set it up.
Unlike many compiler books you seemingly didn't make a "toy language"
compiler that progresses with each chapter. We've come to expect that,
but it has a down-side of alienating people who aren't happy with the
toy language, and it also uses a lot of pages that might be better
used to introduce more topics. Your website has some toy language
stuff (Jave to Python, and the HTMLizer), so that probably meets the
toy language requirement.
I will look into this book further!
Considering your Ruby credentials, would I be far off track to guess
there may be a Ruby example forthcoming?
Return to the
Search the comp.compilers archives again.