[antlr-interest] Checking composite grammars with ANTLRworks
Andreas Meyer
andreas.meyer at smartshift.de
Wed Mar 18 06:56:30 PDT 2009
Ok, one can easily set ANTLR options from within ANTLRworks (didnt see
it, sorry!), to generate code using ANTLRworks. But still, this does not
help visualizing the ambiguity :-/ The console shows the same error as
the command line version from ANTLR, but it seems to be ignored by
ANTLRworks ....
Andreas
Andreas Meyer schrieb:
> 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
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
More information about the antlr-interest
mailing list