[stringtemplate-interest] Map in stringtemplate

John RW rw1836 at yahoo.com
Tue Aug 8 10:46:57 PDT 2006


Sorry, my mistake. It actually works.
   
  I was using operator.(some_arg) 
  to do the translation, the '>' and '<' was xml-quoted to &gt; so it did not work. Thanks for help.

Terence Parr <parrt at cs.usfca.edu> wrote:
  
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

_______________________________________________
stringtemplate-interest mailing list
stringtemplate-interest at antlr.org
http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20060808/8b17a25e/attachment-0001.html


More information about the stringtemplate-interest mailing list