[antlr-interest] v3: question to usage options

Dieter Frej dieter_frej at gmx.net
Wed Aug 16 07:58:18 PDT 2006


yeap, was generated fine without any problems. Then I am going to change
the header of the grammar. I made some other changes to it as well to
get it more spec conform (mostly rule names changed). I am going to send
it soon.

Thanks

- Didi



Micheal J wrote:
> 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