by eatonphil · 7y ago · 0 comments
But, to be fair, getting to the point of being able to implement a recursive fibonacci algorithm is not too difficult taking either path.
Register machine languages are "catenative" also. We can take a "mov eax, ebx" and catenate that with "move ecx, $foo" in any order we want. We are constrained, though, because different sections of code use different input and output registers (or combinations of input and output registers and stack locations and such). Forth makes those conventions uniform, and that leads to some degrees of freedom which give it a higher level flavor.
The thing to do is to make some higher level language that uses Forth as a VM; then you have understandable code.
Using Forth effectively takes practice, but I found it worth the effort for the much the same reasons as Lisp.