3 ms·
this is quite an interesting project! combining kaitai structs or similar with the command line. however, i am a little disappointed that the jq syntax was cho
by blondin 5y ago
this is quite an interesting project! combining kaitai structs or similar with the command line.
however, i am a little disappointed that the jq syntax was chosen. jq has a very non-intuitive syntax. there are more intuitive query syntaxes out there. (linq or even basic sql come to mind.)
- nine_k 5y agoLinq is a bit more wordy, and SQL is sadly not very composable.
- wwader 5y agoYes i can empathize with finding jq hard to understand, it's quite different and took a while to grasp. The reason i choosed it anyway was that after prototyping some common type of queries i would like to do (basic value access in deep structures, multiple recursive traverse with filtering, transform objects and arrays) in various languages, jq was more or less then only one that felt terse enough. Also i think it's quite nice that you can output to JSON and then load into whatever language or environment you want Maybe there are some alternatives i should look at?