[antlr-interest] Strip tool

Sunil Sawkar ssawkar at aehr.com
Tue Mar 22 11:01:09 PDT 2011


Martin,

Thanks much for the info.. I found it in the antlr-3.2.jar package and was 
able to extract and use.

-Sunil 

On Tuesday, March 22, 2011 02:04:33 am Martin Becker wrote:
> Sunil,
> 
> there is a class included for that in ANTLRWorks *.jar file. I'm pretty
> sure it is contained in ANTLR itself, too.
> 
> To strip actions "with ANTLRWorks", do the following:
> 
> Add the *.jar file to your Java class path. Then Run (on UNIX):
> 
> java org.antlr.tool.Strip <file_name.g> > <stripped_file_name.g>
> 
> Regards,
> Martin
> ---
> 
> Am Montag, den 21.03.2011, 12:36 -0700 schrieb Sunil Sawkar:
> > Hi,
> > 
> > I would like to use the Strip tool to remove action code from my grammar.
> > I saw reference to this tool in antlr version 3.1.2. I currently use
> > antlr version 3.2. Can anyone help me find this tool / show how to use
> > it from the jar package for antlr-3.2 ? Or is this a separate entity
> > that needs to be downloaded ?
> > 
> > Appreciate the help.. Thanks,
> > 
> > -Sunil Sawkar
> > 
> > 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