[antlr-interest] Parser error management
Joan Pujol
joanpujol at gmail.com
Wed Oct 13 07:45:56 PDT 2004
On Tue, 12 Oct 2004 16:12:29 -0400, Bryan Ewbank <ewbank at synopsys.com> wrote:
>I can't do much more than echo your question; I'm leaning towards disabling
>all ANTLR-generated messages and then coding exceptions where they are
>needed - and code the necessary recovery action.
Yes, but when I have disabled the exceptions what strategy can I use
to gain some advantage versus the ANTLR default error handling?
>For example, if you're in an expression and it's scrambled, print an error
>message and then scan for the next semicolon (i.e., expression terminator).
But it's not the same that do ANTLR? Or the same that I can get doing
some exception catching?
>Hope this helps, a bit...
Well any opinion helps me. A lot of thanks.
--
Joan Jesús Pujol Espinar
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list