Word syntax
Factor handbook » The language » Syntax » Literals

Prev:Number syntax
Next:Quotation syntax

A word occurring inside a quotation is executed when the quotation is called. Sometimes a word needs to be pushed on the data stack instead. The canonical use case for this is passing the word to the execute combinator, or alternatively, reflectively accessing word properties ( Word properties ).


The implementation of the \ word is discussed in detail in Reading ahead. Words are documented in Words.