3 ms·
Is this not more of a shell than an os? Nevertheless an interesting idea. Unix pipes are basically concatenative, I've often thought how much mileage you could
by benj111 3mo ago
Is this not more of a shell than an os?
Nevertheless an interesting idea. Unix pipes are basically concatenative, I've often thought how much mileage you could get out of going more in this direction.
Having said that. This has a lot of forth in it. (Dup, over, rot) I'm not sure the forth way, of passing options in the stack would necessarily work so well in a shell.
- quotemstr 3mo agoIt kind of asks "What if we built an OS, but with all data sourced from immutable, append-only logs processed by pure functios?" Probably not literally realizable right now, but IMHO, the closer we can get, the better
- avadodin 3mo agoYou could easily make CUNIX by starting with a log containing the state of a PDP11 at boot and a pure function which appends ignore previous input and the next PDP11 state to it.
- photios 3mo ago> Unix pipes are basically concatenative, I've often thought how much mileage you could get out of going more in this direction. You might enjoy the "Shell Has a Forth-like Quality" article. It's changed my shell scripting a lot. https://www.oilshell.org/blog/2017/01/13.html https://www.oilshell.org/blog/2017/01/13.html