Re:Jaq – A jq clone focused on correctness, speed, and simpl...
by throwaway2037 on Wednesday November 29, 2023 @08:34PM
(#38468071)
What is "JS syntax"? And can you write a frontend for jq that converts "JS syntax" to jq syntax?
And is the jq man page poor? I'm sure they will accept patches for it.
Re:Jaq – A jq clone focused on correctness, speed, and simpl...
by andelink on Wednesday November 29, 2023 @11:32PM
(#38469665)
The jq man page is pretty good IMO. It’s where/how I learned to use jq
Re:Jaq – A jq clone focused on correctness, speed, and simpl...
by ruuda on Thursday November 30, 2023 @02:33AM
(#38470750)
I have that same problem, the advanced features I use too little to remember. Then I started working on a configuration language that should have a non-surprising syntax (json superset, mostly inspired by Python, Rust, Nix). And it turns out, this works well as a query language for querying json documents. https://github.com/ruuda/rcl Here is an example use case: https://fosstodon.org/@ruuda/111120049523534027
A better tool for me would be something that uses JS syntax but with some syntactic sugar and a great man page.