Closed klahnakoski closed 3 years ago
This is still a work in progress: the full list of pattern exceptions is now available.
Every ParseResult must include a list of all the failures that define the rightmost part of the match: https://github.com/klahnakoski/mo-parsing/commit/6cdf6714ee35ea664df8fd6226da695499cd6945 this is then scanned for the rightmost positive match, and the limitations it encounted
This is not complete, but good enough as a framework to build a suite of tests
I would be nice to provide better error messages so we know what is wrong and what the close alternatives are.