Handbook
Glossary
lookup-vocab ( vocab-spec -- vocab )
Factor handbook
»
The implementation
»
Vocabularies
Prev:
vocab-help ( vocab-spec -- help )
Next:
loaded-child-vocab-names ( vocab-spec -- seq )
Vocabulary
vocabs
Inputs
vocab-spec
a vocabulary specifier
Outputs
vocab
a
vocab
Word description
Outputs a named vocabulary, or
f
if no vocabulary with this name exists.
Definition
IN:
vocabs
GENERIC:
lookup-vocab
( vocab-spec -- vocab )
Methods
USING:
assocs
kernel
namespaces
vocabs
;
M:
object
lookup-vocab
vocab-name
dictionary
get
at
;
USING:
vocabs
;
M:
vocab
lookup-vocab
;