Handbook
Glossary
Reflection support for vocabulary search path
Factor handbook
»
The language
»
Parsing words
Prev:
Parsing raw tokens
The parsing words described in
Syntax to control word lookup
are implemented using the below words, which you can also call from your own parsing words.
The current state used for word search is stored in a
manifest
:
manifest
Words for working with the current manifest:
use-vocab
( vocab -- )
unuse-vocab
( vocab -- )
add-qualified
( vocab prefix -- )
add-words-from
( vocab words -- )
add-words-excluding
( vocab words -- )
Words used to implement
IN:
:
current-vocab
( -- vocab )
set-current-vocab
( name -- )
Words used to implement
Private words
:
begin-private
( -- )
end-private
( -- )