Replies: 2 comments
-
We definitely want to improve debugging and error handling, and a parser like the one you suggested would be a great start. nom, a popular parser combinator library for Rust, offers the ability to trace parsing through a composition of parsers: https://github.com/Geal/nom/blob/master/doc/error_management.md#debugging-parsers It would be awesome to see if we could do something similar. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm going to convert this to a discussion for now. Will be a better place to discuss iterations on such an operator and debugging in general! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
💡 a suggestion
Adding a side-effect operator. I made one for myself to add the ability to inspect and debug the parsing. An example usage:
The suggested form:
Beta Was this translation helpful? Give feedback.
All reactions