xo-interpreter2 stack: refactor: move cons() pm to object2/

This commit is contained in:
Roland Conybeare 2026-03-15 11:51:37 -05:00
commit 7be6463835
3 changed files with 28 additions and 1 deletions

View file

@ -21,9 +21,12 @@ namespace xo {
using AAllocator = xo::mm::AAllocator;
public:
/** create primitive for fetching nth element of a sequence **/
/** create primitive: fetch nth element of a sequence **/
static DPrimitive_gco_2_gco_gco * make_nth_pm(obj<AAllocator> mm);
/** create primitive: create cons cell **/
static DPrimitive_gco_2_gco_gco * make_cons_pm(obj<AAllocator> mm);
/** create pirmitive for creating a dictionary instance **/
static DPrimitive_gco_0 * make_dict_make_pm(obj<AAllocator> mm);