2008-07-20 05:24:37 -04:00
USING: help.markup help.syntax sequences quotations words
compiler.tree stack-checker.errors ;
2008-07-24 00:50:21 -04:00
IN: compiler.tree.builder
2008-07-20 05:24:37 -04:00
2008-07-24 00:50:21 -04:00
HELP: build-tree
2008-07-30 04:38:10 -04:00
{ $values { "quot" quotation } { "nodes" "a sequence of nodes" } }
2008-07-24 00:50:21 -04:00
{ $description "Attempts to construct tree SSA IR from a quotation." }
2008-07-20 05:24:37 -04:00
{ $notes "This is the first stage of the compiler." }
{ $errors "Throws an " { $link inference-error } " if stack effect inference fails." } ;
2008-07-24 00:50:21 -04:00
HELP: build-tree-with
2008-07-30 04:38:10 -04:00
{ $values { "in-stack" "a sequence of values" } { "quot" quotation } { "nodes" "a sequence of nodes" } { "out-stack" "a sequence of values" } }
2008-08-22 18:38:23 -04:00
{ $description "Attempts to construct tree SSA IR from a quotation, starting with an initial data stack of values, and outputting stack resulting at the end." }
2008-07-20 05:24:37 -04:00
{ $errors "Throws an " { $link inference-error } " if stack effect inference fails." } ;