dgsh – Directed Graph Shell

113 points45 comments8 hours ago
esafak

This would have been great 10-20 years ago, or even at the coining of Unix pipes. By today's standards, however, the syntax feels clunky and dated. I'd like to see contemporary shells like nushell and elvish copy these ideas, with attribution of course, in a more modern way. That is the best way I can see to honor this stagnant project: https://github.com/dspinellis/dgsh

show comments
dang

Related. Others?

Dgsh – Directed Graph Shell - https://news.ycombinator.com/item?id=21700014 - Dec 2019 (11 comments)

Dgsh – Directed graph shell - https://news.ycombinator.com/item?id=13352659 - Jan 2017 (51 comments)

jimbokun

This is very interesting, but I'm wondering how it compares to just using a dynamic language like Python or Ruby for the same tasks. Curious how the line count to express the same tasks would come out.

show comments
byearthithatius

Interesting. What are the benefits of thinking of data pipelines in terms of a DAG? Why cant it be cyclical with exit conditions?

show comments
politician

A solution to the One Billion Row Challenge (1brc.dev) written in dgsh would be a interesting as a benchmark.

show comments
uncletaco

Hello. In English this makes me think of the phrase “dog shit”. Not sure if that’s intentional or not.

show comments