dodekalogue
jargonKept in this browser · My desk
The common name for the twelve rules in Tcl's Tcl(n) manual page that define the whole syntax of the language.
Tcl has no grammar beyond these rules: commands and separators, evaluation, words, double quotes, argument expansion, braces, command substitution, variable substitution, backslash substitution, comments, the order of substitution and word boundaries. Before {*} argument expansion became rule 5 there were eleven, the Endekalogue. Most surprises in an Expect script or an iRule that are not about the command itself are one of these rules: braces that keep a \r as two characters, double quotes that run a bracket as a command, a value that is never substituted twice. The twelve rules are the same in Tcl 8.6 and Tcl 9, apart from a few words.
Also known as: endekalogue, twelve rules of tcl, tcl(n)