run-file ( path -- )
Factor handbook » The implementation » The parser

Prev:Evaluating strings at run time
Next:parse-file ( path -- quot )


Vocabulary
parser

Inputs
patha pathname string


Outputs
None

Word description
Parses the Factor source code stored in a file and runs it. The initial vocabulary search path is used.

Errors
Throws an error if loading the file fails, there input is malformed, or if a runtime error occurs while calling the parsed quotation.

Definition