[stringtemplate-interest] StringTemplate Literals

Terence Parr parrt at cs.usfca.edu
Thu Feb 26 17:49:40 PST 2009


On Feb 24, 2009, at 5:57 PM, H.E. Sum wrote:

> Is there a way to specify that a region of text should be interpreted
> as a literal string so we don't have to escape every instance of a
> delimiter? In other words, I'd like something that functions like $!  
> Comments !$, but would get outputted verbatim.

Hmm...good question.  Perhaps as string parameter?

<anotherTemplate(arg="string not interpreted")>

strings might be examined though...give it a try.
Ter


More information about the stringtemplate-interest mailing list