Hi, How do you create DoubleWalk1.jpg tree? I wanna display my tree as yours which is more understandable for a human, but I cannot get such a tree. I use JTree component constructed from a DefaultTreeModel component, and the tree I get is as in the attachment, which is in expandable folder format and not readable enough. And I could not find any component in Java to display a tree as yours. I would be glad if you share your way. Thanks.
2009/8/19 Rob Dougan <[email protected]> > > pass 1 - lex/parse produces heteroAst (nil root) > pass 2 - heteroAst into symbol table walker > nodes reset > pass 3 - heteroAst into type checking walker (adds type info to ast) ---> > walks twice > > its just a typical expression tree (C-like), the function call (abs(1.0)) > is the smallest statement I could get to fail > but > the tree walker always walks the input twice ... almost like the tree was > duplicated > hmmm > will continue investigating ... > > R > ------------------------------ > Date: Tue, 18 Aug 2009 12:58:43 -0700 > From: [email protected] > CC: [email protected] > Subject: Re: [antlr-interest] tree walker executes method call twice? > > > Rob Dougan wrote: > > > during testing i noticed that my tree walker seems to be walking the tree > twice ... > > anyone spot a grammar problem? > > > What does the input tree look like? > > Jim > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address > > -- -safiye --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
<<attachment: i_1950_0.gif>>
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
