[antlr-interest] StringTemplate 2.1 release!

Loring Craymer Loring.G.Craymer at jpl.nasa.gov
Sat Jan 22 13:51:48 PST 2005


If you mean "Can my translator use String Template to generate output", then
the answer is yes--that's what Ter is doing to bootstrap 3.0.  Changing the
backend of ANTLR 2 for a new target, on the other hand, is a major task as
Monty points out--the xxCodeGenerator.java files could stand some major
refactorings.  Each runs to 120-150K in size.


> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Monty Zukowski
> Sent: Saturday, January 22, 2005 10:32 AM
> To: Bryan Ewbank
> Cc: ANTLR Interest
> Subject: Re: [antlr-interest] StringTemplate 2.1 release!
> Bryan Ewbank wrote:
> > Is it feasible to use StringTemplate for code generation in 2.7.5?
> > I'd really like to see, for example, C code generation w/o an
> > associated library.
> >
> Well, if you're generating the code, you can do it any way you want with
> respect to libraries.
> If you were hoping for C as a target language for  2.7.5 you're out of
> luck, that's extremely unlikely to happen until version 3.
> Monty

More information about the antlr-interest mailing list