jsonpath-rust icon indicating copy to clipboard operation
jsonpath-rust copied to clipboard

Compiled path test suite

Open thehiddenwaffle opened this issue 7 months ago • 3 comments

Still a work in progress but was hoping for feedback

thehiddenwaffle avatar Jun 02 '25 17:06 thehiddenwaffle

I've specifically been putting a lot of focus into 2.4.2-3 and the examples laid out in 2.4.9. To me this feels like one of the last things to add to the grammar in order for the pest parser to generate completely valid paths. I also think that the closer the grammar is to being fully comprehensive the better off we are in terms of extensibility and safety.

Currently I left every little piece of info in the grammar file as comments and tried to mostly not change the parse tree that's being output so that we can make minimal code changes at first and then incrementally change the code to better fit the parse tree once I get all tests passing.

Other than that I need to perform similar changes on both versions of the AST then clean up a bit and this PR will be ready.

thehiddenwaffle avatar Jun 02 '25 17:06 thehiddenwaffle

Hey just wanted to follow up with this and say that I haven't disappeared or forgotten about this, I just had to refactor a couple other projects that had severe breaking changes coming out in new versions and it's been taking considerable amounts of my focus. I hope to finish this in 1-2 more weeks.

thehiddenwaffle avatar Jul 05 '25 05:07 thehiddenwaffle

No worries :).

besok avatar Jul 07 '25 06:07 besok