parse-insn-slot-specs ( seq -- specs )


Vocabulary
compiler.cfg.instructions.syntax

Inputs
seqa sequence of tokens


Outputs
specsa sequence of insn-slot-spec items.


Word description
Parses a sequence of tokens into a sequence of instruction slot specifiers.

Examples
USING: compiler.cfg.instructions.syntax prettyprint splitting ; "use: src/int-rep temp: temp/int-rep" split-words parse-insn-slot-specs .
{ T{ insn-slot-spec { type use } { name "src" } { rep int-rep } } T{ insn-slot-spec { type temp } { name "temp" } { rep int-rep } } }


Definition