[antlr-interest] AST generation: EXPRESSION TREE example.

Tom Verbeure hombre at gmail.com
Thu Jun 3 07:53:57 PDT 2004


Hi Barath,

> 3. Are there any examples of how scope of variables can be checked by
> walking an AST?

I just an ANTLR beginner myself, but you may want to look at the
tinybasic example under ./examples/java/tinybasic of the antlr
distribution. In TinyBasicTreeWalker.g, they are building a context
with different scopes etc.

Tom


 
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