xo-interpreter2 stack: refactor: move cwd() -> ObjectPrimitives

This commit is contained in:
Roland Conybeare 2026-03-15 14:25:35 -05:00
commit 32b26d1163
3 changed files with 22 additions and 0 deletions

View file

@ -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);