On Tuesday, 10 July 2012 at 19:41:29 UTC, Philippe Sigaud wrote:
On Tue, Jul 10, 2012 at 9:25 PM, Timon Gehr <timon.g...@gmx.ch>
wrote:
Do people really what error-repairing parsers? I want my
parsers to
tell me something is bad, and, optionally to advance a
possible
repair, but definitely *not* to automatically repair a
inferred error
and continue happily.
FWIW, this is what most HTML parsers are doing.
Ah, right. I can get it for HTML/XML. JSON also, maybe.
I was thinking of parsing a programming language (C, D, etc)
Consider me half-convinced :)
It would still generate errors. But would enable a lot of useful
functionality: autocompletion, refactoring, symbol documentation
in a tooltip, displaying method overloads with parameters
as-you-type, go to definition, etc.