Re:Select, put and delete data from JSON, TOML, YAML, XML an...
by barakplasma on Tuesday March 08, 2022 @12:31AM
(#30596757)
Reminds me of https://github.com/johnkerl/miller which is also a go based tool cloning features from tools like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
[ Parent
| on HN ]
Re:Select, put and delete data from JSON, TOML, YAML, XML an...
by ratrocket on Tuesday March 08, 2022 @05:45PM
(#30608335)
I'm a big fan of miller (mlr) -- it's the tool I landed on when I needed to "graduate" from awk to look at CSV data. But when I read "go based" in your comment, I thought "nope, it's written in C". But no! It was ported to go -- very interesting!
The developer wrote a comprehensive document explaining the rationale behind the porting that answered all my questions and a lot more: https://github.com/johnkerl/miller/blob/main/README-go-port.....
Thought other miller/mlr fans (that don't follow its development) might find this interesting as well.
(The dasel tool looks very cool, too -- looks like a good complement to mlr and similar tools!)
Re:Select, put and delete data from JSON, TOML, YAML, XML an...
by lichtenberger on Tuesday March 08, 2022 @03:17AM
(#30597721)
It is nice, but I wonder if it's also a full-fledged query compiler?
Also IMHO modules with user-defined (higher order?) functions are a big plus of a query language.