Handbook
Glossary
with-file-vocabs ( quot -- )
Factor handbook
»
The implementation
»
The parser
»
Evaluating strings at run time
»
Evaluating strings with a different vocabulary search path
Prev:
(eval) ( str effect -- )
Next:
with-interactive-vocabs ( quot -- )
Vocabulary
parser
Inputs
quot
a
quotation
Outputs
None
Word description
Calls the quotation in a scope with an initial vocabulary search path consisting of just the
syntax
vocabulary.
Definition
USING:
kernel
namespaces
vocabs.parser
;
IN:
parser
:
with-file-vocabs
( quot -- )
[
"syntax"
use-vocab
bootstrap-syntax
get
[
use-words
]
when*
call
]
with-manifest
;
inline