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

Sam Harwell sharwell at pixelminegames.com
Mon Apr 4 18:05:06 PDT 2011


I guess with <%..%>, the escape character is still \>?

This should work fine.

Sam

-----Original Message-----
From: stringtemplate-interest-bounces at antlr.org
[mailto:stringtemplate-interest-bounces at antlr.org] On Behalf Of Terence Parr
Sent: Monday, April 04, 2011 7:22 PM
To: stringtemplate-interest List
Subject: [stringtemplate-interest] "".."" won't work

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
_______________________________________________
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