Rules: Forth versus Tcl
The 12 Rules of Tcl are reduced to six HolonTForth rules:
[1] Commands.
There is no difference between words and commands, words are commands. Commands are separated by white space.
[2] Evaluation.
A command is executed in one step. The arguments are on the stack ready to use. Source literals (numbers, strings, lists) are pushed on the stack by the interpreter.
[3] Words.
obsolete. see [1]
[4] Double quotes.
A double quote is a command that stores the text until the following double quote on the stack. However, the substitutions in Tcl strings (variables, commands, backslash) are retained in HolonForth.
[5] Argument expansion.
obsolete.
[6] Braces.
obsolete. Blocks of script are enclosed by the words that use them (flow control).
[7] Command substitution.
obsolete. Commands that are used in an argument have already been called. Their results are waiting on the stack.
[8] Variable substitution.
see [4]
[9] Backslash substitution.
see [4]
[10] Comments.
The word '\' skips the following words until the next newline.
[11] Order of substitution.
obsolete.
[12] Substitution and word boundaries.
obsolete.