I've been working on binding v8 to ogre (a 3d scenegraph) - it's not a
complete binding yet (it leaks memory like a sieve) .
I've got 10 classes bound, a few dozen methods and some macros to reduce
code count.

You can view the source at:

http://code.google.com/p/wonderlandproject/source/browse/#svn/trunk/js

Those interfaces are added to a global context via:

http://code.google.com/p/wonderlandproject/source/browse/trunk/main_server.cpp

And here is some javascript that uses those bindings:

http://code.google.com/p/wonderlandproject/source/browse/trunk/resources/scripts/test.js

Let me know what you think..

-- 
Regards,
Ben Nolan

http://bennolan.com/

skype: bennolan
cell: +64 21 770 662

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to