2 ms·
The property of concatenative languages is not the ability to compose functions without specifying parameters, but that this in the only way of building program
by yorwba 10y ago
The property of concatenative languages is not the ability to compose functions without specifying parameters, but that this in the only way of building programs.
Your Smalltalk example has a lot more special syntax going on, in a stack-based concatenative syntax it might be written as
Transcript ' foo' show cr
assuming appropriate primitive programs "Transcript", "'" (for literal quoting), "show" and "cr"