[REBOL] Re: Embedded objects.
From: tbrownell:l3technology at: 13-Mar-2003 10:01
What I'm looking for is a method to deal with Semantic Networks with
Rebol... handling IsA and hasPart etc. Needs to deal with inheritance
Person: make object! [IsA: Organism name: none hasParts [eyes]] ;The
hasParts is endless.
Eyes: make object! [Color: none hasParts [cornea]]
Bob IsA Person
- Creates a new object called Bob, and Inherits all the
attributes of the "Person" object, including inheritance of Organism object,
BUT... if something in the eye's or organism objects change, these should
to Bob. So perhaps objects aren't the best approach?