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:
And now back to Ruby!