factor/basis/compiler/cfg/intrinsics/alien/alien-docs.factor

13 lines
535 B
Factor
Raw Normal View History

2016-03-09 02:52:48 -05:00
USING: compiler.cfg compiler.tree help.markup help.syntax quotations ;
IN: compiler.cfg.intrinsics.alien
HELP: inline-accessor
{ $values
{ "block" basic-block }
{ "#call" #call }
{ "quot" quotation }
{ "test" quotation }
{ "block'" basic-block }
}
{ $description "Combinator used to simplify writing intrinsic emitting code. If the 'test' quotation yields " { $link t } " when called on the '#call' nodes inputs, then the 'quot' quotation is used to emit intrinsic instructions. Otherwise a primitive call is emitted. " } ;