[stringtemplate-interest] I was expecting to see a mechanism for looping or repeating...

Thomas Gagne tggagne at gmail.com
Wed Jun 24 13:34:34 PDT 2009


So StringTemplate implements anonymous templates like lambdas or closures?
Excellent.  I'm off to read about them and try one out.

 

"The next sections demonstrate how StringTemplate expresses filling a table,
alternating the row colors in a table, and generating hierarchical menus.
The examples illustrate the two crucial features that alleviate the need for
looping constructs and just about every other common language construct:
template application to a multi-valued attribute (like LISP's map) and
template recursion."

 

Hurray! 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20090624/e901781a/attachment.html 


More information about the stringtemplate-interest mailing list