Handbook
Glossary
load-docs ( vocab -- )
Vocabulary
vocabs
.
loader
.
private
Inputs
vocab
a vocabulary specifier
Outputs
None
Word description
If
load-help?
is on, loads a vocabulary's documentation.
Definition
USING:
accessors
continuations
kernel
namespaces
parser
vocabs
vocabs.loader
;
IN:
vocabs.loader.private
:
load-docs
( vocab -- )
load-help?
get
[
[
+parsing+
>>docs-loaded?
dup
vocab-docs-path
[
?run-file
]
when*
+done+
>>docs-loaded?
]
[
]
[
f
>>docs-loaded?
]
cleanup
]
when
drop
;