[antlr-interest] Do u use Grammar Inheritance?

Mike Lischke lists at lischke-online.de
Thu Jun 2 23:41:39 PDT 2005


Prashant, 

> Just reply a 'yay' or a 'nay'.

Yay!
 
> Supporting this feature in Antlr Studio real nicely would be 
> a *major* pain in the ass.

I believe you, but think of cases like a compiler and its associated GUI front end. The compiler needs a strict syntax
while the GUI (e.g. for context sensitive help) needs to be much more flexible. So I would inherit the grammer from the
compiler to be as compliant as possible but would modify those rules that I need to be more tolerant.

Mike
--
www.soft-gems.net 



More information about the antlr-interest mailing list