Handbook
Glossary
vocab-summary ( vocab -- summary )
Factor handbook
»
The language
»
Vocabulary loader
»
Vocabulary metadata
Prev:
vocab-resources ( vocab -- patterns )
Next:
vocab-tags ( vocab -- tags )
Vocabulary
vocabs
.
metadata
Inputs
vocab
a vocabulary specifier
Outputs
summary
a
string
or
f
Word description
Outputs a one-line string description of the vocabulary's intended purpose from the
summary.txt
file in the vocabulary's directory. Outputs
f
if the file does not exist.
Definition
USING:
kernel
sequences
;
IN:
vocabs.metadata
:
vocab-summary
( vocab -- summary )
"summary.txt"
vocab-file-lines
[
first
]
[
f
]
if*
;