Eugene Chernyshov a écrit :
> Hi.
> Few more questions
> 
> As I can see, a lot of features are implemented in NML. How can I use
> them from C and from Neko?
> 
> What is the function of theese files
> nekoml.n,
> Core.n?
> 
> How to get access to Parser.nml, Ast.nml and other?

You need to write a small NekoML program to build an API, then compile
it (this will produce one .n per .nml file) and link it into one single
.n (using nekoc -link , see neko/src/tools/install.neko for an example).
All the methods will be exported in the $exports table so you can load
your .n from C or Neko and call these methods.

Hope that helps,
Nicolas


-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to