[stringtemplate-interest] "".."" won't work

Terence Parr parrt at cs.usfca.edu
Mon Apr 4 17:21:46 PDT 2011


t() ::= "" is an empty template. can't use that.

maybe triple single?

t() ::= '''
...
'''
too close to single double-quotes. grrrr...

Scriptlets in JSP/ASP are: <% ..%>

t() ::= <%
...
%>

might be mo' better.  no escaping required and says "script" more than template. what do you think?

Ter


More information about the stringtemplate-interest mailing list