[antlr-interest] adding enum token types output for java target
Jim Idle
jimi at temporal-wave.com
Wed May 28 08:51:10 PDT 2008
On Wed, 2008-05-28 at 08:48 -0700, Terence Parr wrote:
> On May 28, 2008, at 8:30 AM, Andy Tripp wrote:
>
> > 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?).
>
> sed can do it in 1 command in 3 seconds ;)
That University needs to upgrade your 1990's laptop, unless you are
talking about how long it took you to type the command ;-)
>
> Ter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080528/3a677b1c/attachment.html
More information about the antlr-interest
mailing list