[antlr-interest] Please help a newbie!

Richard Clark rd_clark at sbcglobal.net
Tue Aug 3 14:34:45 PDT 2004


You're welcome.

I should add that you don't _really_ need a tree walker; you could do 
the calculations right inside your parser and omit the tree-walking 
step. Tree walkers are nice if you have to rearrange a tree (e.g. as a 
step in translating one language to another, or optimizing away certain 
constructs) or if you have to take the same parser output and perform 
several different actions with it (e.g. a 2-pass compiler where the 
first pass gathers symbols and the second pass generates the code -- 
you might choose to implement each pass as a tree walker.)

  ...Richard



 
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