10 lines
523 B
Factor
10 lines
523 B
Factor
USING: assocs compiler.cfg help.markup help.syntax ;
|
|
IN: compiler.cfg.stacks.map
|
|
|
|
HELP: initial-state
|
|
{ $description "Initially the stack bottom is at 0 for both the data and retain stacks and no replaces have been registered." } ;
|
|
|
|
HELP: trace-stack-state
|
|
{ $values { "cfg" cfg } { "assoc" assoc } }
|
|
{ $description "Outputs an assoc with the instruction numbers as keys and as values two tuples of the data and retain stacks shapes before that instruction. All instructions in the cfg gets numbered as a side-effect." } ;
|