[stringtemplate-interest] anybody use parallel list iteration?

Jim Idle jimi at temporal-wave.com
Sat Oct 17 21:15:19 PDT 2009


Think I might have used this in the C target and one other place. But it could probably be reworked :-)

JHim

> -----Original Message-----
> From: stringtemplate-interest-bounces at antlr.org [mailto:stringtemplate-
> interest-bounces at antlr.org] On Behalf Of Terence Parr
> Sent: Saturday, October 17, 2009 3:07 AM
> To: stringtemplate-interest Template
> Subject: [stringtemplate-interest] anybody use parallel list iteration?
> 
> Use this?
> 
> <a1,a2,...,aN:{argument-list_ | _anonymous-template}>
> 
> Parallel list iteration. March through the values of the attributes
> a1..aN, setting the values to the arguments in argument-list in the
> same order. Apply the anonymous template. There is no defined it value
> unless inherited from an enclosing scope.
> 
> Most of use lists of objects not parallel arrays; thinking of leaving
> out for v4.
> 
> Ter
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest





More information about the stringtemplate-interest mailing list