Carter Cheng schrieb: > Thanks everyone for the replies to my previous post. I have been wondering > about one additional point > when it comes to tree parsers. For alot of AST's when doing semantic analysis you tend to have alot > of separable distinct tasks which only need parts of the constructed tree. I am curious if there is > a way to underspecify the tree grammar and tell it explicitly not to descend certain portions of the > AST and only focus on certain parts. I apologize if this has been addressed before. > > Thanks in advance, > > Carter. > Well, you could use the . to mark certain nodes and subtrees as "just have to be here".
Johannes List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
