After looking through the books again and this article: http://www.antlr.org/wiki/display/ST/Language+Translation+Using+ANTLR+and+StringTemplate
I understand that I need to somehow pass the assign template back up the call stack so that when the entry point 's' is called it returns something. I have not been able to determine how to implement that. >From the article: The general strategy then for the translator is to have every rule return a StringTemplate representing the appropriately translated text. The return value of the start rule will be the entire translation. The main program will call the start rule, program, and print out the return value: Can you help me get started with this? -- View this message in context: http://antlr.1301665.n2.nabble.com/modified-example-T-g-has-no-output-tp5805707p5810377.html Sent from the ANTLR mailing list archive at Nabble.com. 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.
