Le 27/10/2011 20:56, johann Sorel a écrit :
Good Evening, I'm starting to like this nekovm syntaxe, much better than parrot pir and winxed. :) I am searching a bit more informations on compilation and loading. What I am trying to achive is some kind of module manager (not neko modules but higher level more like java .jar archives). So I have a .neko or .nxml file and would like to compile it to a .n .(from my application, which is also written in neko). something like calling 'nekoc' but within neko ? When .n file is done, I would like to know how to load it (from a random path) and how to unload it if that's possible ?
You'll have to compile the nekoc sources, then load the nekoc modules (except neko/Main) in order to perform that.
Look at how nekoml translate to neko and check src/neko/Main.nml to see what api you need to call.
Best, Nicolas -- Neko : One VM to run them all (http://nekovm.org)
