VocabularysyntaxSyntaxDEFER: word
Inputs and outputsWord descriptionCreate a word in the current vocabulary that simply raises an error when executed. Usually, the word will be replaced with a real definition later.
NotesDue to the way the parser works, words cannot be referenced before they are defined; that is, source files must order definitions in a strictly bottom-up fashion. Mutually-recursive pairs of words can be implemented by
deferring one of the words in the pair allowing the second word in the pair to parse, then by defining the first word.
ExamplesDEFER: foe
: fie ... foe ... ;
: foe ... fie ... ;
See alsodeferredDefinition