Parboiled has a pretty neat system where it tries to remove or replace one
character to push the parse forward, and if that fails, tries the same
thing one level up in the rule hierarchy.

Full details:
https://github.com/sirthias/parboiled/wiki/Parse-Error-Handling

I'm not sure how good it works in practice, but at least it's something.

Cheers,

Nicolas LAURENT

On 20 May 2017 at 17:00, Juancarlo Añez <apal...@gmail.com> wrote:

> Hello!
>
> To not risk trying to reinvent wheels again, I'll ask.
>
> What has been done about parser recovery over quasi-valid input in PEG?
>
> Cheers!
>
>
> --
> Juancarlo *Añez*
>
> _______________________________________________
> PEG mailing list
> PEG@lists.csail.mit.edu
> https://lists.csail.mit.edu/mailman/listinfo/peg
>
>
_______________________________________________
PEG mailing list
PEG@lists.csail.mit.edu
https://lists.csail.mit.edu/mailman/listinfo/peg

Reply via email to