This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
prototype object semantics
- To: kawa at sources dot redhat dot com
- Subject: prototype object semantics
- From: John Kozak <jk at thameslighter dot net>
- Date: Sun, 11 Nov 2001 18:48:42 +0000
I'm (very) idly thinking about doing a morphic clone for kawa.
Morphic is a rather nice interactive objecty graphics
framework/environment, as found in Squeak Smalltalk and Self. A
morphic emacs-a-like would be getting quite close to my blue computing
heaven.
Question: morphic is very objecty, but works best with prototype
rather than class based semantics. Just looking very superficially,
it seems prototypes could be embedded into the kawa class universe
reasonably cleanly: e.g. perhaps have a class called <PrototypeRoot>
which has methods
(add-slot! (name :: <java.lang.string>))
(add-method! (name :: <java.lang.string>) code) ;; need this?
(clone)
create a single object of <PrototypeRoot>, then all new prototype
semantics objects just clone and modify recursively off this. Is this
a demented idea?
John