[antlr-interest] Is it possible to include another grammar file?

Indhu Bharathi indhu.b at s7software.com
Sat Oct 10 11:49:53 PDT 2009


Refer 'composite grammar' from wiki.

 

http://www.antlr.org/wiki/display/ANTLR3/Composite+Grammars

 

Cheers,

 

Indhu Bharathi

 <http://www.s7software.com/> S7 Software Solutions

 

 

From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Ronghui Yu
Sent: Saturday, October 10, 2009 8:30 PM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Is it possible to include another grammar file?

 

Hi, All,

I would like to divide a large grammar file into serveral pieces, so that
some pieces of them can be auto-generated according to some other materials,
but the main grammar file doesn't get affected. Is it possible to include
those pieces in the main grammar file?

Thanks.

-- 
Ronghui Yu <mailto:stoneyrh at 163.com>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091011/718fc643/attachment.html 


More information about the antlr-interest mailing list