[antlr-interest] antlr v3 grammar inheritance

Jim Idle jimi at temporal-wave.com
Tue Oct 9 11:30:39 PDT 2007


The grammar inheritance functionality is intended for release 3.1 I am
afraid.

 

Jim

 

From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Mihai Gheorghe
Sent: Tuesday, October 09, 2007 10:27 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] antlr v3 grammar inheritance

 

Using ANTLR v3.0.1,
I'm trying to inherit rules from one grammar to another, like this:

HYPERLINK
"http://www.antlr.org/wiki/display/ANTLR3/inheritance+or+some+other+grammar+
sharing+mechanism"http://www.antlr.org/wiki/display/ANTLR3/inheritance+or+so
me+other+grammar+sharing+mechanism
HYPERLINK
"http://www.antlr.org/wiki/display/ANTLR3/add+superClass+to+lexer"http://www
.antlr.org/wiki/display/ANTLR3/add+superClass+to+lexer

Are these IMPLEMENTED in ANTLR v3.0.1?

Does anybody solved the problem of grammar inheritance in v3?


 

 


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.5/1058 - Release Date: 10/8/2007
4:54 PM
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20071009/78e8686d/attachment.html 


More information about the antlr-interest mailing list