[antlr-interest] Should there be 2 antlr jar files for java version

Robert Colquhoun robert.colquhoun at gmail.com
Tue Apr 5 18:10:21 PDT 2005


Hello,

On Apr 5, 2005 10:38 PM, Scott Stanchfield <scott at javadude.com> wrote:
> I separated them into
> 
> antlr.jar            - everything
> antlr-no-debug.jar   - everything (without java debug symbols)
> antlr-rt-all.jar     - all non-build-time classes
> antlr-rt-parser.jar  - just the parts needed to run a parser (no ASTs)
> antlr-rt-scanner.jar - just the parts needed to run a scanner+parser (no
> ASTs)

If the above is done really need to separate the source as well into
separate packages rather than have pretty much everything directly in
the org.antlr package.

ie antlr-rt.jar is the antlr.rt package.

This can badly affect compatibility so it probably wont happen. Before
when antlr had a runtime jar it would only take some minor changes
before the dependency list for the runtime jar was out of date and the
runtime jar was broken.  Really to enforce at the source code level
with separate packages to be able to maintain working independent jar
files.

Another route to reducing jar file size is to look at all the utility
type classes included....the java runtime has so much more inbuilt now
than the 1.1 days when antlr was invented.

 - Robert


More information about the antlr-interest mailing list