Vocabulary compiler .
tree .
builder Inputs in-d a sequence of values out-d a sequence of values word/quot a word or a quotation
Outputs nodes/f a sequence of nodes or f
Word description Attempts to construct tree SSA IR from a quotation, starting with an initial data stack of values from the call site. Outputs
f if stack effect inference fails.
Examples USING: compiler.tree.builder math prettyprint ;
{ "x" } { "y" } [ 4 * ] build-sub-tree .V{
T{ #push { literal 4 } { out-d { 1 } } }
T{ #call { word * } { in-d V{ "x" 1 } } { out-d { 2 } } }
T{ #copy { in-d V{ 2 } } { out-d { "y" } } }
}
Definition
This documentation was generated offline from a
load-all
image. If you want, you can also
browse the documentation from within the UI developer tools . See
the Factor website
for more information.
Factor 0.101 x86.64 (2284, heads/master-29a92525f9, Nov 9 2024 06:55:18)