[antlr-interest] a beautiful "StringTemplate code generation" moment
Terence Parr
parrt at cs.usfca.edu
Sun May 8 15:11:54 PDT 2005
Hi.
Last Friday, I had a beautiful "StringTemplate code generation
moment" when working on ANTLR v3; it was cool enough that I wrote up
a big blurb in the "blog":
http://www.antlr.org/blog/antlr3/codegen.tml
Here's the key insight: lazy evaluation is insanely useful when
building translators (the blog entry describes a great example).
Don't build code generators without StringTemplate! ;)
Ter
More information about the antlr-interest
mailing list