[antlr-interest] adding "version" option to ANTLR grammars
Sam Harwell
sharwell at pixelminegames.com
Sun Feb 1 21:11:40 PST 2009
(I'm only offering an independent opinion on this - definitely not
trying to insult anyone.)
This option feels "gimmicky" to me. It doesn't address the asynchronous
nature of core/target updates, target-to-target incompatibilities, and
doesn't identify breaking changes in the Tool between versions. I don't
think it adds anything that a comment at the top doesn't already give.
This is what the Breaking Changes section of release notes is for. :)
Sam
-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Terence Parr
Sent: Monday, January 19, 2009 5:45 PM
To: Johannes Luber
Cc: antlr-interest Interest
Subject: Re: [antlr-interest] adding "version" option to ANTLR grammars
That is an interesting idea. I am cc'ing the interest list. sorry for
the long delay.
I take it that you are suggesting the following
grammar T;
options {
language = ...;
version = "3.1.1";
}
Ter
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
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
More information about the antlr-interest
mailing list