[antlr-interest] Simple grammar help needed

Kamal Verma kverma at yahoo.com
Tue Jul 31 14:54:47 PDT 2007


I am new to the ANTLR, I have a requirement to parse following kind of input,


(Name1=/regex/) AND (Name2='value')
(Name1=/regex/) OR  (Name2='value')
NOT (Name1=/regex/) 
((Name1=/regex/) OR  (Name2='value')) AND Name2='value'


Do you think it is too simple to try to write a lexer and parser for this ?

Thanks in the advance,
-K





      ____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070731/6447d16e/attachment.html 


More information about the antlr-interest mailing list