[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
properly.
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,
eyes etc.
BUT... if something in the eye's or organism objects change, these should
trickle down
to Bob. So perhaps objects aren't the best approach?
Terry