[antlr-interest] [BULK] question about how to store variable/procedure definitions and retrieve back for Oracle

Kay Roepke kroepke at dolphin-services.de
Wed Feb 22 09:09:40 PST 2006


On 22. Feb 2006, at 18:01 Uhr, Charlie Yang wrote:

> Can I store variable/procedure
> definitions into antlr grammar and retrieve back to determine  the  
> token is
> procedure or variable.  or there is another way abround?

You'll need to build a symbol table using actions and then use  
predicates to achieve this, but that is expected.
Refer to the list archives, I think this has been covered in much  
more detail, than I could give you right now :)

HTH,

Kay


More information about the antlr-interest mailing list