[antlr-interest] adding enum token types output for java target

Andy Tripp antlr at jazillian.com
Wed May 28 08:30:06 PDT 2008


I'd suggest creating a tool that's separate from ANTLR itself,
starting with the ANTLR-generated "ID=34" format file
to produce enums. This would be a great example of how to get started StringTemplate,
without having to know any ANTLR. It would also avoid the "ANTLR generates
only JDK1.4" issue.

And I'll be interested to see if StringTemplate lets me write it in less time than it took
to write it in Java (5 mins?).

Andy


More information about the antlr-interest mailing list