[antlr-interest] adding "version" option to ANTLR grammars

C. Mundi 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
helpful.

Thanks.


On Nov 29, 2008, at 1:42 PM, Johannes Luber wrote:

> Hi!
>
> Thinking about the upcoming dialects of ANTLR grammars (one for each
> version, which aren't totally upwardscompatible), I had this idea.
> Would
> it make sense to make an option named "version" mandatory, which
> simply
> 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.
>
> Johannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090131/eefd2cd9/attachment.html 


More information about the antlr-interest mailing list