ANTLR 2.x a Mess ? ( was [antlr-interest] Complaints about
BaseAST implementation)
Geir Ove Skjaervik
geiroves at online.no
Wed Oct 12 16:34:01 PDT 2005
Hello
Terrence said: (snip) <<That said, ANTLR 2 is a mess built under duress
in my part time. >>
This is disturbing news for all of us that has based projects on 2.x
versions ! It is NOT a matter of just swithcing to 3.0 in the midst of a
project !
I do sincerely hope that wa a figure of speach, and not a signal that
ANTLR bugs like the one I reported with the Wong Bitset Code generation
will not be attended to in 2.x
Sincerely worried
Geir Ove
-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Terence Parr
Sent: 12. oktober 2005 17:03
To: ANTLR Interest
Subject: Re: [antlr-interest] Complaints about BaseAST implementation
On Oct 12, 2005, at 5:57 AM, Micheal J wrote:
> Perhaps BaseAST simply implements common algorithms for the
> CommonASTxxxx
> classes. Anyone is free to design a new AST-Node class that
> implements the
> behaviour specified in the AST interface.
Correct and correct. :) BaseAST was meant simply to abstract out the
child-sibling tree part so anybody could subclass to add fields like
string and token type etc... If you don't want a child-sibling, then
implement AST.
That said, ANTLR 2 is a mess built under duress in my part time.
ANTLR3 is much better designed. The v3 overview slides I'm building
for the workshop look good :)
Ter
More information about the antlr-interest
mailing list