[antlr-interest] How to place lexer,parser,treewalker in diffrent .g files?

QinPeng qinpeng at huawei.com
Wed Aug 14 20:16:22 PDT 2002


When I want to generate CPP codes, How to place lexer, parser, treewalker class in diffrent .g files?

----- Original Message ----- 
From: QinPeng <qinpeng at huawei.com>
To: <antlr-interest at yahoogroups.com>
Sent: Tuesday, August 13, 2002 5:11 PM
Subject: Re: [antlr-interest] Re: include files


> 
> But if using the method in the example, I can't distinguish the "#include" and other predefinede directive such as
> "#pragma pack(1)", "#if", etc.
> thanks!
> 
> ----- Original Message ----- 
> From: rradh <rradh at yahoo.com>
> To: <antlr-interest at yahoogroups.com>
> Sent: Monday, March 04, 2002 3:04 AM
> Subject: [antlr-interest] Re: include files
> 
> 
> > --- In antlr-interest at y..., "marc_schellens" <m_schellens at h...> wrote:
> > > What is the best way to realize include files
> > > in ANTLR?
> > > thanks,
> > > marc
> > 
> > a good place to start would be:
> > 
> > antlr-2.7.1/examples/cpp(or java)/includeFile/
> > 
> > regards
> > rajesh
> > 
> > 
> >  
> > 
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> > 
> > 
> 
>  
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list