Handbook
Glossary
define-insn ( class superclass specs -- )
Vocabulary
compiler
.
cfg
.
instructions
.
syntax
Inputs
class
an
object
superclass
an
object
specs
an
object
Outputs
None
Definition
USING:
combinators
kernel
namespaces
parser
sequences
words
;
IN:
compiler.cfg.instructions.syntax
:
define-insn
( class superclass specs -- )
parse-insn-slot-specs
{
[
nip
"insn-slots"
set-word-prop
]
[
2drop
insn-classes-word
get
push
]
[
define-insn-tuple
]
[
2drop
save-location
]
[
nip
define-insn-ctor
]
}
3cleave
;