Finally got around to trying this and it worked like a champ. Thanks, Ter.
--- On Tue, 6/2/09, Terence Parr <[email protected]> wrote: From: Terence Parr <[email protected]> Subject: Re: [antlr-interest] Tree grammar example, redux To: "J. Stephen Riley Silber" <[email protected]> Cc: [email protected] Date: Tuesday, June 2, 2009, 4:27 PM On Jun 2, 2009, at 4:25 PM, J. Stephen Riley Silber wrote: > Hi gang, > > Frank mentioned the second example in this article > (http://www.antlr.org/wiki/display/ANTLR3/Simple+tree-based+interpeter) not > working as of 3.1.3. I, too, have been trying to get it working, to no avail. > > Did something fundamental change in the TreeNodeStream functionality? I like > this solution much better than spawning new tree parsers every time a > function is called. > > What's the dillio? I think maybe the default stream isn't buffered anymore. Try using BufferedTreeNodeStream :) Ter --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
