xo-interpreter2 stack: modularize nth() primitive setup/install
This commit is contained in:
parent
481d0e73e3
commit
a3aa582eb9
19 changed files with 216 additions and 49 deletions
|
|
@ -68,6 +68,22 @@ namespace xo {
|
|||
&NumericDispatch::cmp_lessequal);
|
||||
}
|
||||
|
||||
DPrimitive_gco_2_gco_gco *
|
||||
NumericPrimitives::make_cmpgt_pm(obj<AAllocator> mm)
|
||||
{
|
||||
return DPrimitive_gco_2_gco_gco::_make(mm, "_cmpgt",
|
||||
&NumericDispatch::cmp_greater);
|
||||
}
|
||||
|
||||
DPrimitive_gco_2_gco_gco *
|
||||
NumericPrimitives::make_cmpge_pm(obj<AAllocator> mm)
|
||||
{
|
||||
return DPrimitive_gco_2_gco_gco::_make(mm, "_cmpge",
|
||||
&NumericDispatch::cmp_greatequal);
|
||||
}
|
||||
|
||||
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue