Handbook
Glossary
define-temp-syntax ( quot -- word )
Factor handbook
»
The language
»
Words
»
Word introspection
»
Uninterned words
Prev:
define-temp ( quot effect -- word )
Vocabulary
words
Inputs
quot
a
quotation
Outputs
word
a
word
Word description
Creates an uninterned parsing word that will call
quot
when executed.
Notes
This word must be called from inside
with-compilation-unit
.
Definition
USING:
kernel
;
IN:
words
:
define-temp-syntax
( quot -- word )
[
gensym
dup
]
dip
define-syntax
;