POSTPONE:
Factor handbook » The language » Syntax » Literals » Word syntax

Prev:\


Vocabulary
syntax

Syntax
POSTPONE: word


Inputs
None

Outputs
None

Word description
Reads the next word from the input string and appends the word to the parse tree, even if it is a parsing word.

Examples
For an ordinary word foo, foo and POSTPONE: foo are equivalent; however, if foo is a parsing word, the former will execute it at parse time, while the latter will execute it at runtime.

Notes
This word is used inside parsing words to delegate further action to another parsing word, and to refer to parsing words literally from literal arrays and such.

Definition