# A JavaCC book

**URL:** <https://www.ruby-forum.com/t/a-javacc-book/109700>\
**Category:** Ruby\
**Created:** [July 18, 2007, 3:47am UTC](https://www.ruby-forum.com/t/a-javacc-book/109700 "2007-07-18T03:47:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [July 18, 2007, 3:47am UTC](https://www.ruby-forum.com/t/a-javacc-book/109700/1 "2007-07-18T03:47:08Z")

</div>

Hi all -

This is rather off-topic, but I know lots of folks interested in general  
programming language stuff hang out here. And Dave’s post about Joe  
Armstrong’s Erlang book went over well, so I’ll chance it. 🙂

Folks who have worked with Java may be familiar with the parser  
generator JavaCC. I’ve just finished writing a book on JavaCC; it  
includes tons of examples and explanations of all the sorts of things  
you might expect: specifying various types of tokens, using lexical  
states, employing JavaCC’s syntactic and semantic lookahead mechanisms,  
using JJTree to build abstract syntax trees, and much more.

More details, including the full table of contents and (near and dear to  
my heart) ordering information, are here:

[http://generatingparserswithjavacc.com/](http://generatingparserswithjavacc.com/)

And now back to Ruby!

Thanks,

Tom C.  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [July 18, 2007, 7:26am UTC](https://www.ruby-forum.com/t/a-javacc-book/109700/2 "2007-07-18T07:26:42Z")

</div>

Tom C. wrote:

> Hi all -
> 
> This is rather off-topic, but I know lots of folks interested in general  
> programming language stuff hang out here. And Dave’s post about Joe  
> Armstrong’s Erlang book went over well, so I’ll chance it. 🙂
> 
> Folks who have worked with Java may be familiar with the parser  
> generator JavaCC. I’ve just finished writing a book on JavaCC;

Sweet!

Congratulations!

–  
James B.

“Blanket statements are over-rated”
