[antlr-interest] Looking for ANTLR code that will parse conditional expressions containing IF, EL

rdabir rdabir at yahoo.com
Thu Apr 15 17:15:51 PDT 2004


Hi,

     Does anyone know if someone who has written some ANTLR code that 
will parse conditional expressions containing IF, ELSE, ELSE IF, AND, 
OR conditionals?

Example:

    I need to parse expressions that look like the following:

If ConditionA = 1 OR (ConditionB = 1 And ConditionC = 2)
Else If  ConditionA > 5 OR ConditionB > 5

I'm new to using ANTLR, so I would appreciate any help I can get

Thanks





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list