Hi! Is there a way to do a step by step debug of a parser?
@doddenino: https://github.com/Engelberg/instaparse#total-parse-mode <-- this is maybe not exactly what you want, but it can be helpful for debugging a parse failure
@doddenino you're probably looking for tracing mode. https://github.com/Engelberg/instaparse/blob/master/docs/Tracing.md
Oh that's great! 🙂 Thanks! I'm having a lot of problems trying to make my parser work correctly 😞
Also, calling insta/parse
with :start
overridden can also help debug certain small pieces of your parser.
@aengelberg I think trace is perfect
I don't know how and why, but it's working correctly now 😅
Celebrating too soon 😞