\
Factor handbook » The language » Syntax » Literals » Word syntax

Next:POSTPONE:


Vocabulary
syntax

Syntax
\ word


Inputs
None

Outputs
None

Word description
Reads the next word from the input and appends a wrapper holding the word to the parse tree. When the evaluator encounters a wrapper, it pushes the wrapped word literally on the data stack.

Examples
The following two lines are equivalent:
0 \ <vector> execute 0 <vector>

If foo is a symbol, the following two lines are equivalent:
foo \ foo


See also
literalize, <wrapper>, W{

Definition