Forth famously allows users to change the language by defining new words for the control flow (in addition to the values ββspecified by the standard: DO, LOOP, BEGIN, UNTIL, WHILE, REPEAT, LEAVE IF, THEN, ELSE, CASE, ENDCASE, etc. ..)
Are there common examples of how people create their own new control flow? What are typical and useful examples? Or has the standard already defined everything that people really need?
I hope to find examples of useful language extensions that have been recognized or have been found to be generally useful in order to make the language more expressive.
compilation control-flow forth gforth
Raymond hettinger
source share