Examples of Custom Control Flow Compiling Words

Viewed 435

Forth famously allows users to alter the language by defining new words for control flow (beyond those given by the standard: DO, LOOP, BEGIN, UNTIL, WHILE, REPEAT, LEAVE IF, THEN, ELSE, CASE, ENDCASE, etc.)

Are there common examples of people actually creating their own new control flow words? What are some typical and useful examples? Or has the standard already defined everything that people actually need?

I'm hoping to find examples of useful language extensions that have gained acceptance or proved generally helpful to make the language more expressive.

2 Answers
Related