On Mon, Jul 25, 2016 at 11:44 AM, Daniel Bünzli <daniel.buenzli@erratique.ch> wrote:
Le lundi, 25 juillet 2016 à 16:15, Spiros Eliopoulos a écrit :
> If the client will always accept any parse correction from the parser, then it should accumulate all errors and return them along with the parse result.

No, in practice you want to be able to report errors before having seen all the input.

So in this situation, the main parse succeeds with errors corrections that are going to be logged somewhere. If something besides logging would be done with the errors, it would fall into one of the other cases described above. The latency difference is on the order of milliseconds, maybe seconds, depending on the application. It's not nearly enough time to make a difference in whatever log analysis process they would be fed into, whether it's inspection by a human (certainly) or some other automated process (they all typically include a ton of latency already).

-Spiros E.