Proposal: System Object Tree
Luke-Jr <[email protected]> Tue, 9 Sep 2003 19:54:15 +0000
| Newsgroups | gmane.comp.lang.moo.general |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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/Xi/rZl/BHdU+lYMRAljxAJwJC6RAt80rBaT5AANOkXMcSC8FngCggqHO 2TKjtESdFxZtgCeApZrtDYQ= =zggX -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf