From e83a245d31fa74ce9badae6d4f94fc6ea1447839 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 28 Jul 2023 12:37:37 +0100 Subject: notes --- bos-meta-class.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bos-meta-class.sh') diff --git a/bos-meta-class.sh b/bos-meta-class.sh index 586eee5..a02ddb1 100644 --- a/bos-meta-class.sh +++ b/bos-meta-class.sh @@ -210,6 +210,15 @@ function bos/meta/class/create-object-into() { bos-object-id/pack-self-into bos_meta_class_create_object_result "$class" "$object_id" + # TODO set up attribute values + # + # for each class in reverse mro, get metaclass, get + # class_attributes, collapse all the attribute meta-objects into a + # single assoc, then scan $@ and set-value appropriately + # + # may need some add-value, actually… do we need three attribute + # metaclasses? ☹ + # TODO invoke BUILD/BUILDALL? return 0 -- cgit v1.2.3