[stringtemplate-interest] Map in stringtemplate

Terence Parr parrt at cs.usfca.edu
Tue Aug 8 10:31:47 PDT 2006


On Aug 8, 2006, at 9:47 AM, John RW wrote:

> Hi,
>
> I was trying to map comparators such as > < == etc to strings as  
> follows:
>
> operator ::= [
>   ">":"greaterThan",
>   "<":"lessThan",
>  "==":"equals",
> ...
> ]
> every other symbol works except for things involving '<' or '>'
>
> What is the problem that prevents such mappings? thanks.

Sounds suspiciously like a problem with < and > being expr  
delimiters.  Can you be more specific than "doesn't work"?

Ter



More information about the stringtemplate-interest mailing list