[antlr-interest] Re: heterogeneous AST nodes and AST factory problem

Ric Klaren klaren at cs.utwente.nl
Mon Nov 25 01:19:37 PST 2002


Hi,

On Wed, Nov 20, 2002 at 07:31:47PM -0000, realistic_programmer wrote:
> So, for the sake of those of us playing along at home, what does this 
> mean in terms of the suitability of versions of Antlr?  Let's pretend 
> that I am using Antlr for real, honest-to-goodness production work.  
> Should I use:
> 
> - 2.7.1  (last 'stable' release)

In 2.7.1 I personally wouldn't use. I'd grab a bugfix develsnapshot from my
antlr pages:

http://wwwhome.cs.utwente.nl/~klaren/antlr (the one before ASTFactory
rework) it contains I think all the serious bugfixes.

> - 2.7.2aX, where X appears to be 5 at the moment

I use 2.7.2aX for my development work, if you're using java then I think
that's the best release to grab. C++ probably as well.

> Should I use the latest and greatest 2aX release if I am not using 
> Heterogeneous ASTs, and 2.7.1 otherwise?

The heterogenous AST implementation in antlr contains quite some
imperfections. Basically I'd advice against using it unless you don't mind
running into (and having to work around) the problems you encounter.

IMHO you won't get hurt if you grab a 2.7.2aX release. Most problems
reported are with 2.7.1 period. (but standard disclaimer applies, no
software is perfect)

Cheers,

Ric
-- 
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- klaren at cs.utwente.nl ----- +31 53 4893722  ----
-----+++++*****************************************************+++++++++-------
 Time what is time - I wish I knew how to tell You why - It hurts to know -
          Aren't we machines - Time what is time - Unlock the door
               - And see the truth - Then time is time again
                From: 'Time what is Time' by Blind Guardian


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list