-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 9 Feb 2006, Lalo Martins wrote:

Another way to try to explain what I mean is by using the terminology of
"world" as used by the guile manual.  It talks about an application in
the scheme world, which calls functions defined in C, as opposed to an
application in the C world, which calls back into Scheme code (typically
scripts).

Swig helps with the former; it *may* help with the latter, but I can't
find how from the documentation.

In fact it does support the latter; you can subclass a Python proxy class (representing a C++ class) and have it work pretty much how you would expect. VOS listener callbacks are able to call back to Python this way.

Even if I could, I'd rather maintain this separate set of (higher-level)
bindings, than give these scripts the full power of the VOS api; it's
less trouble in the long term.  I don't want these scripts to be able to
easily create a site, set ACLs, load/unload site extensions, for
example.  All they're supposed to do is traverse the object hierarchy
and communicate trough messages.

Alright, then, I just wanted to make sure you had considered all the alternatives. I'm interested in seeing what kind of Python API you come up with :-)

[   Peter Amstutz   ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED]  ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey:  pgpkeys.mit.edu  18C21DF7 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD7TbjaeHUyhjCHfcRAqPiAKCVWAb8nz16cYv6lr5jCf/HaQelcQCeIq39
e6/W7nmhW0SFRwSCHvDdQrQ=
=BrUO
-----END PGP SIGNATURE-----


_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to