[antlr-interest] Need help regarding parser

elango m go2elango at gmail.com
Fri Apr 4 08:15:19 PDT 2008


Hi,

We used a home grown hand written parser for parsing expressions, now I am
working on moving the hand written parser to ANLTR based parser. I have
written a grammar that well suits my requirement. But now I am facing an
issue.

In our parser we used to convert the following expression
NOT VAR1 = VAR2
to
NOT ( VAR1 = VAR2 )
while parsing (since the earlier one is wrong).

Now I want to do this with ANTLR. How do I do that?

Thanks in advance,
-EM-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080404/7d96e103/attachment.html 


More information about the antlr-interest mailing list