3 ms·
It appears to be extremely similar to Forth, surprisingly. The docs sections on Variables, Functions, Loops, at least, are all pretty much exactly Forth. the d
by yesenadam 4y ago
It appears to be extremely similar to Forth, surprisingly. The docs sections on Variables, Functions, Loops, at least, are all pretty much exactly Forth.
the docs: https://github.com/tomhrr/cosh/blob/main/doc/all.md https://github.com/tomhrr/cosh/blob/main/doc/all.md
- cmrdporcupine 4y agoThat's specified right in the article title. The "concatenative" language family includes Forth, but also PostScript, Joy, etc. Languages in which expression reduction is expressed concatenatively via e.g. a stack, RPN syntax, etc. Consistent and powerful and terse, but IMHO hard to read. I think it's a great idea for a shell/script language, maybe, but not universally easily readable.
- yesenadam 4y ago> That's specified right in the article title. My point was that a lot of the grammar seems exactly the same as Forth's, and different to, say, Postscript's.
- cmrdporcupine 4y agoAh, ok, fair point