It took me a little bit to get the java.g to behave properly as well.

It isn't an issue with the grammar, but instead your settings.

Here is a detailed tutorial:
http://openjdk.java.net/projects/compiler-grammar/antlrworks/index.html

In any case, what you need to do is:

1) Select File->Preferences and then in ANTLR Options, add
-Xconversiontimeout 100000
2) When launching ANTLR works, launch it with more than the default
heap space by: java -Xmx512m -jar antlrworks-1.3.1.jar

Be sure to save, and close and then re-open after these 2 steps.

Now, when you go to generate code, it should do it without complaint.

-Matt

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to