3 ms·
if anyone is interested there is a similar tool (called "comp") but the queries are expressed with list comprehension syntax. It also allows to join data from j
by julochrobak 13y ago
if anyone is interested there is a similar tool (called "comp") but the queries are expressed with list comprehension syntax. It also allows to join data from json and xml.
It has two modes:
1) as a commnad line
./comp -f commits.json,authors.txt '[ i.commits | i <- commits, a <- author, i.commits.author.name == a ]'
2) as a service to allow querying of the files through simple http interface
./comp -f commits.json,authors.tx -l :9090
curl -d '{"expr": "[ i.commits | i <- commits, a <- author, i.commits.author.name == a ]"}' http://localhost:9090/full http://localhost:9090/full
or through an interactive console on http://localhost:9090/console http://localhost:9090/console
disclosure: I'm a co-author, and happy to get a feedback or answer any questions :)
- julochrobak 13y agowell and here is the link - http://github.com/ostap/comp http://github.com/ostap/comp :)