[antlr-interest] Antlr 3 generates very big java classes which do not compile
Kay Roepke
kroepke at classdump.org
Tue Dec 26 08:47:43 PST 2006
On 26. Dec 2006, at 17:40 , Kay Roepke wrote:
> There's a static boolean in CodeGenerator.java, which toggles
> whether to create inline DFAs or always create
> DFA objects for prediction. Be careful, this is a global switch,
> you will not get *any* inline (if and switch-based)
> DFAs anymore.
P.S.: I created a bug report for this. Maybe we can somehow have a
threshold that tells us to prefer a DFA object over inline
acyclic DFAs if we have a lot of labels. This might allow a larger
class of grammars to compile.
<http://www.antlr.org:8888/browse/ANTLR-75>
-k
--
Kay Röpke
http://classdump.org/
More information about the antlr-interest
mailing list