Debugging class descriptions
BUG: "large bear weighs 600 pounds". The last part, "600 pounds", should be an adverbial phrase. It's not. "600" is the OBJECT.
BUG: This is still not right...
>> bananas are yellow
banana is yellow.
>> dog's banana is big
dog's yellow banana is large.
>> cat's banana is small
cat's banana belonging to cat is small.
>> break
Break in debug at the start:
debug> list banana
Motive: default
(clean text) banana->banana-n1 (clean), MID 10000
(context text) banana->banana-n1-ae57 (dirty), MID 10000
(context text) banana->banana-n1-b140 (dirty), MID 10000
debug> cdump banana-n1-ae57
define banana-n1-ae57 [7426] (fe104310) /2710/ dirty
label banana
label bananas
label banana-n1
attribute big-a1
attribute Root-05f69060
attribute yellow-a1
orthogonal fruit-n1
child-of fruit-n1
debug> cdump banana-n1-b140
define banana-n1-b140 [7426] (fe852600) /2710/ dirty
label banana
label bananas
label banana-n1
attribute small-a1
attribute Root-05f691e3
orthogonal fruit-n1
child-of fruit-n1
The first banana created with "bananas are yellow" should be plural and non-writeable, no? It could then be cloned and updated with orthogonal attributes. It should only be updated natively with other plural attributes, like "curved". All bananas are curved and yellow except for those that explicitly aren't. I think I need to go back and finish/fix this.
Wait... there was a new construct--a plabel. It is used for bears but not for bananas. Let me fix this and try again. Okay! That makes all the difference:
Initializing
>> bananas are yellow
banana are yellow.
>> break list banana
Motive: default
(clean text) banana->banana-n1 (clean), MID 10000 **<-no dirty bananas**
>> dog's banana is big
dog's banana belonging to dog is large.
>> cat's banana is small
cat's banana belonging to cat is small.
>> what color is dog's banana
banana are yellow.
>> what color is cat's banana
banana are yellow.
>> break list banana
Motive: default
(clean text) banana->banana-n1 (clean), MID 10000
(context text) banana->banana-n1-affe (dirty), MID 10000
(context text) banana->banana-n1-b198 (dirty), MID 10000
>> break cdump banana-n1-affe
define banana-n1-affe [7426] (4b51c960) /2710/ dirty
label banana
label bananas
label banana-n1
attribute big-a1
attribute Root-05f690af **<-no color**
orthogonal fruit-n1
child-of fruit-n1
>> break cdump banana-n1-b198
define banana-n1-b198 [7426] (4b9e2a40) /2710/ dirty
label banana
label bananas
label banana-n1
attribute small-a1
attribute Root-05f69233 **<-no color**
orthogonal fruit-n1
child-of fruit-n1
>> dog's banana is red
dog's banana belonging to dog is red.
>> break list banana
Motive: default
(clean text) banana->banana-n1 (clean), MID 10000
(context text) banana->banana-n1-affe (dirty), MID 10000
(context text) banana->banana-n1-b198 (dirty), MID 10000
>> break cdump banana-n1-affe
define banana-n1-affe [7426] (4b51c960) /2710/ dirty
label banana
label bananas
label banana-n1
attribute red-a1
attribute big-a1 **<-explicit color**
attribute Root-05f690af
orthogonal fruit-n1
child-of fruit-n1
>> what color is dog's banana
dog's banana belonging to dog is red.
>> what color is cat's banana
banana are yellow.
Much better. But, there is work to do. See notes from 10/13/24. I also don't know how far I got with class descriptions as memories (T4).