Handbook
Glossary
no-word ( name -- newword )
Vocabulary
parser
Inputs
name
a
string
Outputs
newword
a
word
Word description
Throws a
no-word-error
.
Definition
USING:
continuations
kernel
sequences
vocabs
vocabs.parser
;
IN:
parser
:
no-word
( name -- newword )
dup
words-named
ignore-forwards
dup
use-first-word?
[
nip
first
]
[
<no-word-error>
throw-restarts
]
if
no-word-restarted
;