[antlr-interest] Any known good ways to recover from simple parse errors

Sander Mägi sander at aqris.com
Mon May 13 08:54:24 PDT 2002


Hi,

I am looking for advice on creating a parser that could recover from common parsing errors.

What I want to achieve is to modify java parser so that when it hits a missing semicolon or unmatching brace error it would mark a construct it was working on as invalid and try to detect where the next logical construct starts.

Does anyone know if there is public research or samples available on this topic or can just offer good advice on how would be best to start with it.

thanks!

Sander Mägi


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20020513/b7950840/attachment.html


More information about the antlr-interest mailing list