[stringtemplate-interest] Support or interface Iterable
Terence Parr
parrt at cs.usfca.edu
Thu Oct 19 09:48:28 PDT 2006
On Oct 19, 2006, at 7:35 AM, John Snyders wrote:
> That explains it, thanks.
> I didn't notice that Iterable was new in 1.5. That makes sense
> since it
> seems to go hand in hand with the new foreach syntax.
>
> At least some parts of stringtemplate are generated from ANTLR so
> is it
> possible/difficult to have a 1.5 version of StringTemplate spit
> out? Are
> there other things worth taking advantage of? Probably most new
> things don't
> impact the StringTemplate implementation.
Well, you can compile the source in 1.5 no problem and tweak it for
Iterable I guess. If we add that classname, it won't compile in <1.5.
Ter
More information about the stringtemplate-interest
mailing list