Comment by ruste
5 years ago
I've actually been meaning to write something up about this. I've found you can get fairly good error messages from a parser combinator style parser just by saving the deepest location you successfully parsed to and the parser you failed in.
No comments yet
Contribute on Hacker News ↗