[antlr-interest] adding "version" option to ANTLR grammars
cmundi at gmail.com
Sat Jan 31 20:20:15 PST 2009
You're on to something good.
As a newcomer, I started using the alpha builds of antlr3 and immediately
ran into the exact problem you are trying to solve. I appreciate the
legitimate concerns raised by others here. But anything which provides a
clue about the assumptions under which a grammar was written would be
On Nov 29, 2008, at 1:42 PM, Johannes Luber wrote:
> Thinking about the upcoming dialects of ANTLR grammars (one for each
> version, which aren't totally upwardscompatible), I had this idea.
> it make sense to make an option named "version" mandatory, which
> records the used ANTLR version for writing. It's mandatory because
> people don't seem ever to write a comment explaining the requirements
> (myself included ;). It makes easier for people to diagnose problems
> with a third-party grammar.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest