Handbook
Glossary
expand-macros* ( obj -- )
Vocabulary
macros
.
expander
Inputs
obj
an
object
Outputs
None
Definition
IN:
macros.expander
GENERIC:
expand-macros*
( obj -- )
Methods
USING:
macros.expander
quotations
;
M:
callable
expand-macros*
expand-macros
literal
;
USING:
locals.types
macros.expander
;
M:
lambda
expand-macros*
expand-macros
literal
;
USING:
locals.types
macros.expander
;
M:
let
expand-macros*
expand-macros
literal
;
USING:
kernel
macros.expander
;
M:
object
expand-macros*
literal
;
USING:
combinators
kernel
macros.expander
words
;
M:
word
expand-macros*
{
{
[
dup
expand-dispatch?
]
[
drop
expand-dispatch
]
}
{
[
dup
expand-macro?
]
[
expand-macro
]
}
[
drop
word,
]
}
cond
;
USING:
accessors
kernel
macros.expander
;
M:
wrapper
expand-macros*
wrapped>>
literal
;