3 ms·
> The whole point of concatenative languages is the simple syntax and implementation. That’s a major part of it, and certainly the selling point of Forth—you c
by evincarofautumn 10y ago
> The whole point of concatenative languages is the simple syntax and implementation.
That’s a major part of it, and certainly the selling point of Forth—you can build, understand, and extend everything yourself, from the ground up.
But the reason I came to concatenative languages in the first place was that I saw the power of a compositional style of programming in Haskell, and I wanted to bring that high-level thinking over to a lower-level language with a simpler performance model than laziness+GC.
Remember also that the Forth family and the Joy family are a case of convergent evolution: Manfred Von Thun chose postfix syntax and a stack-machine implementation for Joy because it was a natural way to reason compositionally about programs. The Forth similarity was discovered soon after, and certainly had an influence on the design. But Joy wasn’t really a Forth, and neither are its descendants: Factor is more of a postfix Lisp, Kitten a postfix ML.