xo-interpreter2 stack: refactor: move cwd() -> ObjectPrimitives
This commit is contained in:
parent
f72d7aac25
commit
32b26d1163
3 changed files with 22 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ namespace xo {
|
|||
using AAllocator = xo::mm::AAllocator;
|
||||
|
||||
public:
|
||||
/** create primitive: report current working directory **/
|
||||
static DPrimitive_gco_0 * make_cwd_pm(obj<AAllocator> mm);
|
||||
|
||||
/** create primitive: fetch nth element of a sequence **/
|
||||
static DPrimitive_gco_2_gco_gco * make_nth_pm(obj<AAllocator> mm);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue