[antlr-interest] Lean runtime jar
Loring Craymer
Loring.G.Craymer at jpl.nasa.gov
Thu Feb 3 13:56:29 PST 2005
A better way of extracting this information is to look at the lib/cpp/antlr
and lib/csharp/src to identify classes. You have made a pretty good start,
but your list is missing items like TreeWalker.java and
CommonASTWithHiddenTokens.java (yeah, I know: this one is pretty obscure
and not commonly used). The C# library pretty faithfully mirrors the Java
runtime, although there are some differences because of the differences in
Java versus C# standard classes; C++ has diverged a bit more.
--Loring
At 01:43 PM 2/3/2005, Jeremy Rayner wrote:
>On Thu, 03 Feb 2005 12:26:08 -0500, Christopher Schultz
><christopher.d.schultz at comcast.net> wrote:
> > > Is there a leaner runtime jar than the 400k antlr-2.7.5.jar on the
> > > download page?
> >
> > I would be interested in the same thing. I'd like to use an
> > ANTLR-generated parser in production and have a somewhat smaller li
> > directory.
> >
> > Let me know what your list of required classes comes out to be.
>
>OK, well I've done a quick parse and looked at the generated AST with
>java -verbose switched on, so this is my first cut at required classes...
>
> http://tinyurl.com/3hras
>
>Let me know if you find any missing classs for a normal 'runtime' execution
>of antlr.
>
>Hope this helps
>
>jez.
>
>--
>http://javanicus.com/blog2
More information about the antlr-interest
mailing list