2 ms·
I think for most people the learning curve is steeper with tacit languages, mainly as you have to hold the stack/array state in your head. Mathematicians will p
by alexisread 3y ago
I think for most people the learning curve is steeper with tacit languages, mainly as you have to hold the stack/array state in your head.
Mathematicians will probably find it familiar, and as-per forth you could annotate with some sort of stack diagram for an aide memoire.
If you're looking for something more understandable, rebol syntax is phenomenal.
It's a concatenative prefixRL language like Uiua (forth is postfixLR), which you can use like a stack or array language by passing the stack/array as the far-right operand.
http://blog.hostilefork.com/rebol-vs-lisp-macros/ http://blog.hostilefork.com/rebol-vs-lisp-macros/
Furthermore it handles types and has (declarative) scoping unlike say forth which is typeless (panmorphic) and global.
The idea with rebol, similar to Joy, is that operations-on-a-stack is analagous to passing-mutable-stack-to-function so you get tacit programming with both approaches. PrefixRL allows more of a lispy feel, especially when combined with blocks.