The csexp-query 0.1.0 opam package is now available.
If you have ever wanted to query e.g. the output of dune describe (but didn’t want the dependency cone of sexp), then csexp-query might be interesting.
csexp-query is a minimal command-line tool to query canonical s-expressions (csexp) from stdin. For example,
dune describe workspace --format=csexp | csexp-query '(field root)'
will extract the dune project root.
Happy hacking!