5 ms·
Murex has had this capability for years. (https://github.com/lmorg/murex https://github.com/lmorg/murex) I’m on my phone at the moment and cooking so cannot ty
by hnlmorg 1y ago
Murex has had this capability for years. (https://github.com/lmorg/murex https://github.com/lmorg/murex)
I’m on my phone at the moment and cooking so cannot type any examples, but if I get time, I’ll throw together some comparisons later tonight
- esafak 1y agoI could not find any mention of DAGs or directed acyclic graphs in the documentation.
- hnlmorg 1y agoYeah it’s not technically DAG since it uses iteration, but then dgsh will use iteration under the hood too. However Murex does support CSP-style concurrency. So while there’s no syntax sugar for writing graphs, you can very easily create adhoc pipes and pass them around instead of using stdout / stderr. So it wouldn’t actually take much to refine that with some DAG-friendly syntax. In fact maybe that can be my next project…
- DSpinellis 1y agoI'm curious: what do you mean by "dgsh will use iteration under the hood too"? Dgsh does several things under the hood, but I wouldn't characterize any of them as iteration.
- hnlmorg 1y agoYes you’re right. My apologies. I was glancing at the examples while cooking, specifically the git example (https://www2.dmst.aueb.gr/dds/sw/dgsh/#commit-stats https://www2.dmst.aueb.gr/dds/sw/dgsh/#commit-stats) thinking that it was iterating over the lines output from git, but clearly that’s not even how bash would work. That will teach me for commenting without giving something my full attention first doh! Looking properly at this, I can see no iteration is needed. Which actually makes the Murex implementation even easier because Murex already has tee pipes just like dgsh. It’s just not (yet) particularly well documented.
- DSpinellis 1y agoAdmiring your multi-tasking!
- hnlmorg 1y agoHaha thank you but it’s really not that good otherwise I’d have grokked the iteration thing before making a fool out of myself!
- em-bee 1y agowould you be able to share or point to some examples? i am curious.
- hnlmorg 1y agoSorry, it’s been a very busy couple of days so not had 5 minutes to test anything. Stay tuned though, What I’m going to do is write a blog post about it. It’s an interesting enough topic to deserve one
- em-bee 1y agoawesome. i am looking forward to that. that blog on the murex website could use some attention anyways :-)