[antlr-interest] AST generation

Mark Davidson markd at samsungcontact.com
Tue Sep 3 09:35:21 PDT 2002


Hi,

I have the following rule in my grammer:

factor: (col EQ) => (col EQ^ value)
         | (col NE) => (col NE^ value)
         | (col ("not")? "like") => ( col ("not")? "like" value) ;

For the last line I want to create a tree:

    not
    |--like
       |--col
       |--value

But I cannot work out how.

Thanks
Mark


 

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



More information about the antlr-interest mailing list