create-vocab ( name -- vocab )
Factor handbook » The implementation » Vocabularies

Prev:loaded-child-vocab-names ( vocab-spec -- seq )
Next:vocab-words-assoc ( vocab-spec -- assoc/f )


Vocabulary
vocabs

Inputs
namea string


Outputs
vocaba vocab


Word description
Creates a new vocabulary if one does not exist with the given name, otherwise outputs an existing vocabulary.

Definition