Handbook
Glossary
define-syntax ( word quot -- )
Factor handbook
»
The language
»
Words
»
Colon definitions
Prev:
define-inline ( word def effect -- )
Vocabulary
words
Inputs
word
a
word
quot
a
quotation
Outputs
None
Word description
Defines a parsing word.
Notes
This word must be called from inside
with-compilation-unit
.
Definition
USING:
kernel
;
IN:
words
:
define-syntax
( word quot -- )
[
drop
]
[
define
]
2bi
t
"parsing"
set-word-prop
;