▲ | kragen 3 days ago | |||||||
Shell piping isn't Forth. | ||||||||
▲ | nmz 2 days ago | parent [-] | |||||||
I didn't say it was forth, I said it was concatenative. Forth itself is hard to categorize since it refuses to standardize but we all know what it looks like, I'd say its a low level language/VM that manages everything through stacks (usually 2) there's forthlike languages and also concatenative languages. concatenative languages can be far removed from forth, I don't mean that the shell itself is concatenative, but only the shell pipelining aspect, which you can imitate in any forth. take an object and keep passing it to subsequent functions without popping that know s how to handle that object, that's a shell pipeline to me, all of unix can be passed the /dev/std* objects and they can all modify it and pass it along to the next function/program. | ||||||||
|