[antlr-interest] Checking composite grammars with ANTLRworks
Andreas Meyer
andreas.meyer at smartshift.de
Wed Mar 18 04:55:58 PDT 2009
Hi!
I have a grammar that imports many subgrammars, which in turn import
other sub-grammars. Now, via command-line, ANTLR reports about
ambiguities (displayed as a list of NFA states). Now, in order to
visualize this ambiguity warning in ANTLR, I tried ANTLRworks. However,
this seems to have problems with imported grammars, as it checks the
root grammar in one second and does not report any ambiguity warnings
(whereas the command-line antlr takes several minutes). What can I do?
Note that getting at the ambiguity warnings by "generating code" from
inside ANTLRworks is not possible, as I need an option
-Xconversiontimeout in order to build anything.
Best Regards,
Andreas Meyer
More information about the antlr-interest
mailing list