[antlr-interest] What's coming for 2.8 (was Re: Build Question)

lgcraymer lgc at mail1.jpl.nasa.gov
Wed Mar 13 11:02:30 PST 2002

--- In antlr-interest at y..., Ric Klaren <klaren at c...> wrote:
> Hi,
> On Wed, Mar 13, 2002 at 06:37:03AM -0000, lgcraymer wrote:
> > C++/C# support will require under 100 lines of new code to support 
> > extensions, excluding the translocation support which takes about 
> > LOC.  That enables language neutral AST rewriting.
> Sounds very good. This probably also means that the current action.g
> xxxCodeGenerator interface was thoroughly revised? (this would 
> overjoy me ;) )

No such luck--that will have to wait for 3.0.  Basically, I added a 
few classes to support "tree actions" and about 30 lines of code in 
JavaCodeGenerator to interpret the actions.  

> The changes need porting to C++ still I presume?

Yes--something like 50 LOC in CppCodeGenerator, and then another 500 
LOC for the translocation support library--I have jUnit test code 
which covers that code, so the translation to C++ might be done 

> > My current code base is based on 2.7.1; Ter and I plan to upgrade 
to a 
> > 2.7.2 base before releasing 2.8.
> This means we are going to jump from 2.7.2a1 to 2.8 ?

More likely at least a 2.7.2b release will precede 2.8.0a--I have to 
jump through a few hoops to release my code (and I may not be able to 
release through the jGuru site--stay tuned) and that will take a 
little time.

> Well done!

Thanks!  This is about the first third of what it takes to 
dramatically speed up ANTLR development--the second third is Ter's 
code generation support, and the third component would be a 
refactoring browser/interactive grammar analyzer tool.  I'd dearly 
like to see something like that done for 3.0.

> Is there already a branch available in the repository with these 

No--I have to work through intellectual property issues with JPL/NASA 
before I can formally release the code in some fashion.



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

More information about the antlr-interest mailing list