Hacker News new | past | comments | ask | show | jobs | submit login

Sadly user friendly error messages are often main differentiator between low-performance parsers and high-performance parsers.



Probably not for any great reason: worst case scenario is to simply use the fast parser, and when it fails, then go back to the end of the last successfully parsed expression, and run the the slow parser to get a good error.

That is, it's not terribly difficult to deal with the tradeoffs if your description of the problem is at all correct




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: