[Neko] Compile , load and unload modules

Nicolas Cannasse ncannasse at motion-twin.com
Wed Nov 16 16:54:02 CET 2011


Le 16/11/2011 16:07, johann Sorel a écrit :
>
> Hello,
>
> I'm starting to figure out how to setup my own paradigms on nekovm.
> As you recomanded I'm exploring the neko and nekoml parser as examples to build my own parser.
>
> But the NekoML syntax is sometimes hard to read, when mixing tuples declarations, functions calls. the absence or presence of parentheses makes it hard to find if the code is actually calling a function or just reusing a value somewhere. So I'm trying to generate the neko files for those .nml and encounter compilation errors :
> nekoc -v -p Ast.nml
> returns
> Ast.nml(76): Unexpected ,
>
> Some help would be appreciated.

You need to use nekoml compiler to compile .ml files

Best,
Nicolas



More information about the Neko mailing list