On Jun 5, 2009, at 10:32 AM, Bill Andersen wrote:
> Folks.. > > I have a tree grammar set up with template output. Now I'm ready to > integrate it with the parser that produces the AST and generate text. > > Question is, what do I need to do in Java to make the generated tree > parser code aware of my defined template groups? Is it just a call > to setTemplateLib(StringTemplateGroup templateLib)? yep. You must tell the parser where to look for templates whether you're using a parser grammar or a tree grammar. Ter 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 -~----------~----~----~----~------~----~------~--~---
