[antlr-interest] v3: question to usage options

Micheal J open.zone at virgin.net
Wed Aug 16 02:15:20 PDT 2006


Dieter,

> you wrote that the current java.g grammar should be generated 
> with java -Xms200M -Xmx400M org.antlr.Tool -dfa -nfa 
> -Xmaxdfaedges 65534 java.g But how do you know that it has to 
> be generated this way? Simply because that was the only way 
> it was generated at all? Because java -Xms200M -Xmx300M 
> org.antlr.Tool java.g is also working. Is that any 
> better/worse than adding the whole bunch of options you used 
> in the first run? 

At the time the grammar was created, it was needed for ANTLR to successfully
generate the DFA tables. Since then the implementation of cyclic DFA
generation has changed significantly and this may no longer be required in
fact. 

Did you try it without any switches

Micheal


-----------------------
The best way to contact me is via the list/forum. My time is very limited.



More information about the antlr-interest mailing list