Zulu-Inuoe/jzon

Provide restarts for parsing errors?

Zulu-Inuoe opened this issue · 1 comments

Should investigate being a Good CL Citizen and providing meaningful restarts where they Make Sense ™️ ©️ ®️ .

My main concern is how they might impact performance. Performance isn't the main concern of this library, but I don't want users to pay for features they don't use, and in my experience, restarts are primarily useful during repl development and not 'delivered code'

But that said, a good set of restarts is quite helpful during development.

Maybe you could look at how Eclector does it, here's what I found in < 5 minutes: