Vocabularycompiler.
cfg.
instructions.
syntaxInputsOutputsWord descriptionParses a sequence of tokens into a sequence of instruction slot specifiers.
ExamplesUSING: 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