[antlr-interest] StringTemplate for copying code from lexer rule to output code

Jim Idle jimi at temporal-wave.com
Wed Jul 14 12:26:41 PDT 2010


You will have to look through the lists markmail.org to see how to display all the parameters and so on that are coming in to the templates.

But start by looking at the template 'lexerRule' in my C.stg - that should allow you to descend then templates and find out what is missing.


Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Alan Condit
> Sent: Wednesday, July 14, 2010 10:49 AM
> To: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] StringTemplate for copying code from
> lexer rule to output code
> 
> Jim,
> 
> I am in the process of bringing it up to date. I started with the
> templates that Kay had done and I don't know if Kay deleted a template
> that is needed or what. So I am trying to find out what template copies
> the actions in the Java code (since it works) so that I can figure out
> how to fix the ObjC code.
> 
> Alan
> ---
> 
> Alan Condit
> 1085 Tierra Ct.
> Woodburn, OR 97071
> 
> Email -- acondit at ipns.com
> Home-Office (503) 982-0906
> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address





More information about the antlr-interest mailing list