Well, that is the standard error identification for PEGs, which I don’t consider competitive with deterministic parsers, but it’s error recovery that I think is most challenging. Ter On May 26, 2014, at 8:47 AM, Aaron Moss <a3m...@uwaterloo.ca> wrote:
> On 2014-05-26 4:30 PM, Terence Parr wrote: >> Hi. Just curious. Has anyone figured out how to get good error >> reporting and recovery in PEGs? I.e., competitive with deterministic >> parsers? > > Bryan Ford's Master's thesis[1] had some work on error reporting; do you > have any specific requirements that aren't met by his "furthest forward > failure" heuristic? > > [1] http://pdos.csail.mit.edu/~baford/packrat/thesis/thesis.pdf > > _______________________________________________ > 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