Handbook
Glossary
vocab-main ( vocab-spec -- main )
Factor handbook
»
The implementation
»
Vocabularies
Prev:
vocab-name ( vocab-spec -- name )
Next:
vocab-help ( vocab-spec -- help )
Vocabulary
vocabs
Inputs
vocab-spec
a vocabulary specifier
Outputs
main
a
word
Word description
Outputs the main entry point for a vocabulary. The entry point can be executed with
run
and set with
MAIN:
.
Definition
IN:
vocabs
GENERIC:
vocab-main
( vocab-spec -- main )
Methods
USING:
vocabs
;
M:
f
vocab-main
;
USING:
kernel
vocabs
;
M:
object
vocab-main
lookup-vocab
vocab-main
;
USING:
accessors
vocabs
;
M:
vocab
vocab-main
main>>
;