scan-new ( -- word )
Factor handbook » The language » Parsing words » Defining words

Next:scan-new-word ( -- word )


Vocabulary
parser

Inputs
None

Outputs
worda word


Word description
Reads the next token from the parser input, and creates a word with that name in the current vocabulary.

Errors
Throws an error if the end of the file is reached.

Notes
This word should only be called from parsing words.

Definition