[stringtemplate-interest] mapping templates

Terence Parr parrt at cs.usfca.edu
Wed Oct 7 12:28:58 PDT 2009


Hi, there is a syntax bugaboo in ST v3.

<names:bold()> means apply bold to each element of names but t=foo()  
in an arg list or wherever means invoke foo and put ST into t.  Seems  
like foo should be a template name and foo() should be an invocation.   
That would imply we'd chnage to:

<names:bold>

Makes more sense if you ask me.  Other thoughts?

Ter


More information about the stringtemplate-interest mailing list