I am not 100% sure if we are still not talking about 2 different things. First, you need to wrap your neko libraries to be usable from haXe. That's > what neko.net.Socket is doing for instance.
For example I have no neko libraries that I need to wrap. I am not trying to wrap any libraries here but embed nekovm. I will not nag you any more for now, I will try to get a better understanding of the whole thing (I see there is --neko-source option in haxe compiler so I will play with that) . Maybe then I can ask the right questions or understand your answers. :) Thanks, I love what you are making and are enabling with haxe and neko (and mod_tora sounds cool) Janko > > > Then, you can compile the haXe module as .n > > The export table will contain a single entry called "classes", which > contain the whole classes and packages that have been compiled by haXe. > > You can then access to a given class for example by using : > > $exports.my.package.MyClass > > (or the equivalent by using Neko API) > > You can create an instance by calling MyClass.new(p1,p2,...) and the call > the methods etc. > > Hope that helps, > Nicolas > > > > -- > Neko : One VM to run them all > (http://nekovm.org) >
-- Neko : One VM to run them all (http://nekovm.org)
