: name ( ... -- ... ) word1 word2 word3 ;
creates a word called name
, that, upon execution, executes
word1 word2 word3
. name
is a (colon) definition.
The explanation above is somewhat superficial. See section Interpretation and Compilation Semantics for an in-depth discussion of some of the issues involved.
:
"name" -- colon-sys core "colon"
;
compilation colon-sys -- ; run-time nest-sys core "semicolon"