[antlr-interest] antlr jar dependency
virtualaspirin at yahoo.com
Tue Oct 4 08:29:06 PDT 2005
Short answer: No
Long answer: Not everything in antlr.jar is actually
needed for runtime. There is also a separate antlr
runtime jar file floating somewhere that containes
only the classes needed at runtime.
Basically, you can load the generate files in
eclipse/IDEA/netbeans/whatever and remove unncessary
imports. Then just pack the ones left, and ship your
I looked at it sometime back, and needed class file
were south of 100kB or so.
--- Alessandro Di Bella <aldib at fuurou.org> wrote:
> I'm new to ANTLR and I need to write a parser that
> needs to be shipped within
> an applet. Because of size restrictions, I was
> wondering if there was a way
> of generating code that did not rely at runtime on
> the antlr.jar file (like
> javacc does).
Yahoo! Mail - PC Magazine Editors' Choice 2005
More information about the antlr-interest