Handbook
Glossary
scaffold-vocab-in ( vocab-root string -- )
Vocabulary
tools
.
scaffold
Inputs
vocab-root
a vocabulary root string
string
a
string
Outputs
None
Word description
Creates a directory in the given root for a new vocabulary and adds a main .factor file and an authors.txt file.
Definition
USING:
combinators
kernel
tools.scaffold.private
vocabs
;
IN:
tools.scaffold
:
scaffold-vocab-in
( vocab-root string -- )
vocab-name
dup
delete-from-root-cache
{
[
scaffold-directory
]
[
scaffold-main
]
[
nip
require
]
[
nip
scaffold-authors
]
}
2cleave
;