parse-file ( path -- quot )
Factor handbook » The implementation » The parser

Prev:run-file ( path -- )


Vocabulary
parser

Inputs
patha pathname string


Outputs
quota quotation


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

Errors
Throws an I/O error if there was an error reading from the file. Throws a parse error if the input is malformed.

Definition