Re: Proposal: System Object Tree

Luke-Jr <[email protected]> Mon, 15 Sep 2003 23:59:38 +0000
Newsgroups gmane.comp.lang.moo.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Any comments at all? Agree? Disagree?

On Tuesday 09 September 2003 07:54 pm, Luke-Jr wrote:
> I have discovered that MOO does not do very well for multiple cores. I am
> attempting to design a new core from scratch, but using a JHCore as a
> development environment and @make-core-db to trim out the JHCore. Because
> of how $foo works, however, this does not seem to be possible without ugly
> MOOcode workarounds.
> I would like to propose a System Object Tree which transparently allows
> multiple cores to co-exist within a MOO. The basic idea is as follows. If
> more details are needed on a particular aspect, ask on the list and I'll
> get back to you. :)
> $foo
> 	typeof(`v=verbdef.system.foo!ANY')==OBJ ? v | #0.foo
> $foo()
> 	verbdef.system:foo()
> crash
> 	verbdef.system:crashhandler()
> 	verbdef.system.system:crashhandler()
> 	etc (until x.system == x)
> 	if not already called, #0:crashhandler();
> notify()
> 	if verbdef.system == verbdef, ensure that #0:bf_notify has been called
> before notify()ing
> 	verbdef.system:bf_notify()
> 	(if this calls notify(), see this definition)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/ZlJuZl/BHdU+lYMRAqziAJ96NR1pkOUgDo4vfHhSIIqvumO0AACfRhRG
MKqSifg43hBn1C7JjQZx5Bk=
=0stW
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf