[il-antlr-interest: 27857] Re: [antlr-interest] Grammar composition in v3, multiple packages, no joy

2010-02-10 Thread Christian Nentwich
> Sounds like an idea. The ideas currently on that page IMO do not scale > > to a > > grammar of any size. > > I am not sure what you mean by scale to be honest. Performing an upcase in > LA isn't much of an overhead compared to everything else. I use this on my > SQL grammars with no problems a

[il-antlr-interest: 27842] Re: [antlr-interest] Grammar composition in v3, multiple packages, no joy

2010-02-10 Thread Christian Nentwich
> Language L1-lives in a Java project, with grammar L1.g; usable > > standalone > > Language L2-lives in another Java project, with grammar L2.g; > > extends L1 > Have you tried making your actual rules just imports such that L1.g > contains no rules, but defines the headers and pa

[il-antlr-interest: 27838] [antlr-interest] Grammar composition in v3, multiple packages, no joy

2010-02-09 Thread Christian Nentwich
Hi all, I'm a long time user of ANTLR, and have recently gone through the painful but definitely useful exercise of moving from v2 to v3. I have now hit a point where I am stuck, with no workaround in sight, due to the difference in grammar inheritance. This is the situation here - note, no lexer