[antlr-interest] Grammar inheritance?
Terence Parr
parrt at cs.usfca.edu
Wed Oct 4 13:49:14 PDT 2006
On Oct 4, 2006, at 11:38 AM, Robert Hill wrote:
> Ok, no problem. I was going to have a go at generating a base
> grammer, then
> a derived class with fewer rules and manually editing the class
> decl. yeah
> yeah, I know it's a no no editing the generated code..LOL I just
> want to see
> if it would work :)
only trick is that you have to watch out for rules in supergrammar
that are affected by changes to rules in subgrammar. ;)
Ter
More information about the antlr-interest
mailing list