[antlr-interest] Fwd: C# Error Recovery
Terence Parr
parrt at cs.usfca.edu
Thu Apr 17 10:58:57 PDT 2008
On Apr 17, 2008, at 10:25 AM, Adam Connelly wrote:
> Sorry, I keep pressing reply instead of reply to all.
>
> ---------- Forwarded message ----------
> From: Adam Connelly <adam.rpconnelly at googlemail.com>
> Date: 17 Apr 2008 18:23
> Subject: Re: [antlr-interest] C# Error Recovery
> To: Johannes Luber <jaluber at gmx.de>
>
> This is kind of related to what I was talking about in another
> thread ("Better Error Handling in ANRTL" or something like that).
> Why not remove the actual error reporting from the recogniser
> completely? That way you'd still have all the reporting (i.e. what
> to do with errors and not what to do when one occurs which is
> slightly different) in the same place, and it would also be easier
> (IMO anyway) to alter the way that errors are reported.
>
> You could also then change the error reporter used by a parser at
> runtime. But anyhow, I won't re-write the suggestion here
You mean like the ErrorListeners in ST? WhenI have time, that is a
reasonable thing to consider...
Ter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080417/b22d2d2d/attachment.html
More information about the antlr-interest
mailing list