|JLex lookup table too large email@example.com (aduncan) (1998-10-07)|
|Re: JLex (and JavaCUP) lookup table too large firstname.lastname@example.org (aduncan) (1998-10-10)|
|Date:||7 Oct 1998 23:02:20 -0400|
|Organization:||U.C. Santa Barbara|
|Keywords:||Java, lex, question|
I inherited a JLex/JavaCUP parser that I'm modifying. I added all of two
new keywords, and the emitted Java lexer has a lookup table that pushes
the compiled classfile to larger than 64K. (Sun's javac version 1.2beta4
warmns that "Virtual machines may refuse the resulting class file.") Any
suggestions about massaging the lexical definition to reduce the size of
the generated tables? It's basically a grammar for Java itself, plus a
few new keywords.
Return to the
Search the comp.compilers archives again.