scan-word-name ( -- string )
Factor handbook > The language > Parsing words > Reading ahead

Prev:scan-token ( -- str )
Next:scan-word ( -- word )


Vocabulary
parser

Inputs and outputs
stringa string


Word description
Reads the next token from parser input and makes sure it does not parse as a number.

Errors
Throws an error if the scanned token is a number or upon finding end of file.

Notes
This word should only be called from parsing words.

Definition