[antlr-interest] Lean runtime jar

Jim O'Connor Jim.O'Connor at microfocus.com
Thu Feb 3 09:46:31 PST 2005


Hi Chris and Jeremy,
  I have an application with about 10 parsers/lexers.  The list of the
directly referenced classes is below.  Let me know if that helps.
Jim

Antlr Package
   ANTLRException 
   ANTLRHashString  
   ANTLRStringBuffer  
   ASTFactory  
   ASTPair  
   BaseAST  
   ByteBuffer  
   CharBuffer  
   CharScanner  
   CharStreamException  
   CharStreamIOException  
   CommonAST  
   CommonToken  
   DumpASTVisitor  
   InputBuffer  
   LLkParser  
   LexerSharedInputState  
   MismatchedCharException 
   MismatchedTokenException  
   NoViableAltException  
   NoViableAltForCharException  
   Parser  
   ParserSharedInputState  
   RecognitionException  
   SemanticException  
   Token  
   TokenBuffer  
   TokenStream  
   TokenStreamException  
   TokenStreamIOException  
   TokenStreamRecognitionException  
   TokenStreamSelector  
   TreeParser  

Antlr.collections Package
   AST
Antlr.collections

   ASTArray
   BitSet


> -----Original Message-----
> From: Christopher Schultz [mailto:christopher.d.schultz at comcast.net]
> Sent: Thursday, February 03, 2005 12:26 PM
> To: Jeremy Rayner
> Cc: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] Lean runtime jar
> 
> Jeremy,
> 
> >   Is there a leaner runtime jar than the 400k antlr-2.7.5.jar on the
> > download page?
> > A well known subset of classes?  I know that LLkParser.class etc are
> needed for
> > runtime execution of an antlr generated parser, but I'd imagine some of
> the
> > code generation classes don't need to be distributed with the runtime.
> >
> > Should I begin a quick 'java -verbose' style analysis, or has someone
> > on this list
> > already assembled a lean runtime jar.
> 
> 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.
> 
> -chris


More information about the antlr-interest mailing list