<word> ( name vocab -- word )
Factor documentation > Factor handbook > The language > Words > Word introspection > Uninterned words
Next:<uninterned-word> ( name -- word )


Vocabulary
words

Inputs and outputs
namea string
vocaba string
worda word


Word description
Allocates a word with the specified name and vocabulary. User code should call <uninterned-word> to create uninterned words and create to create interned words, instead of calling this constructor directly.

Notes
This word must be called from inside with-compilation-unit.

Definition
USING: definitions hashtables kernel math words.private ;

IN: words

: <word> ( name vocab -- word )
2dup 0 hash-combine hash-combine >fixnum (word)
dup new-word ;