Earlier quoted context omitted.
(author here) Thanks for the comment! I do think you hit on something interesting, and it partly explains why the project is so big :) To me, shell and Python/JS feel kind of similar, and that was sort of the thesis at the start of the project. But if you just incrementally add features to Bourne shell, you basically get Korn shell, which is where bash got all the "bashisms" that people don't like. This paper was sur…
>"It's a lot more work to make something like Python or JS! Garbage collection is one issue; shells don't have it because they don't have recursive compound data structures or true functions." An excellent point! >"Yes pipelines are a big deal and the runtime is solid now so they can be enhanced." Maybe synchronous (aka, guaranteed linear) and asynchronous (no guarantees) are better ways to look at it... For example,…
Also, dgsh is along these lines: https://www.spinellis.gr/sw/dgsh/#compress-compare
It appears to use Unix domain sockets, not pipes.
I think I might want to use the Ruby-like blocks for syntax, something like
grep FOO *.py | wc -l | sort -n
pipeline {
pipe :p1 # variables that are pipes
pipe :p2
# this syntax isn't great but shows the idea
grep FOO *.py > &p1
&p2
-----Although I think richer pipelines make sense, structured data will probably come first: