[antlr-interest] FW: time for 2.7.6 :)
Scott Stanchfield
scott at javadude.com
Tue Aug 9 19:43:47 PDT 2005
I just noticed Ter posted this to the list, so here's my reply (w/o the
attachment).
-- Scott
> -----Original Message-----
> From: Scott Stanchfield [mailto:scott at javadude.com]
> Sent: Tuesday, August 09, 2005 7:32 PM
> To: 'Terence Parr'
> Subject: RE: time for 2.7.6 :)
>
> I changed quite a bit from what we talked about over the
> phone. No more plugin for xml support. I'm having ANTXR as a
> totally separate spinoff from ANTLR.
>
>
> The main changes I made:
>
> * added support for JSR-45 source maps
>
> * changed classloading scheme to allow safe/isolated use in
> application servers
> -DANTLR_USE_DIRECT_CLASS_LOADING=true
> (uses old Class.forName approach)
> false (default) uses context classloaders
>
> * optionally remove calls to System.exit(1)
> -DANTLR_DO_NOT_EXIT=true (false is the default)
> true = instead of System.exit() call, throws RuntimeException
> false = calls System.exit(1)
>
> * make the main Tool class reentrant (moved some static vars
> to instance vars)
>
>
> Details (# in parens is # changed blocks) =======
> build/Tool: (3)
> change classloading
>
> AntlrException: (1)
> added support for "causative"/nested exception to be held
>
> ASTFactory: (4)
> change classloading
>
> CharScanner: (3)
> remove System.exit() calls
>
> DefaultJavaCodeGeneratorPrintWriterManager: (new)
> supports jsr-45
>
> DefineGrammarSymbols: (1)
> access line that a header action starts on (jsr-45)
>
> JavaCodeGenerator: (116)
> jsr-45
> (note: I changed the code significantly since you saw it
> to reduce the changes and make it easier for you
> to see what really changed. Most of the changes
> now are simply settings for the "default source line"
> that is written to the mapping file, and methods
> to help that writing. Should be easy to diff now)
>
> JavaCodeGeneratorPrintWriterManager: (new)
> interface for java code gen print writers
>
> PrintWriterWithSMAP: (new)
> PrintWriter extension that tracks source/generated line mappings
>
> PythonCodeGenerator: (1)
> remove System.exit() calls
>
> TokenStreamException: (1)
> added support for "causative"/nested exception to be held
>
> Tool: (13)
> removed static variables (make reentrant)
> change classloading
> remove System.exit() calls
>
> TreeParser: (1)
> remove System.exit() calls
>
> Utils: (new)
> support for classloading and exit handling
>
> Version:
> update version number (I won't send this...)
>
>
> Let me know if you have any questions. I assume you're going
> to integrate Ric's changes as well?
>
>
> Prashant has some changes he needs for ANTLRStudio as well.
> I'm going to work with him to try to isolate those nicely. I
> don't know when I'll get the code (he doesn't want to send it
> to me until it's ready for release -- cleanup and such). I
> might suggest this as 2.7.7.
>
> Later,
> -- Scott
More information about the antlr-interest
mailing list