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.

thanks


> -----Original Message-----
> From: [email protected]
> Sent: Thu, 27 Oct 2011 21:21:09 +0200
> To: [email protected]
> Subject: Re: [Neko] Compile , load and unload modules
> 
> 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)

____________________________________________________________
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if5
Capture screenshots, upload images, edit and send them to your friends
through IMs, post on Twitter®, Facebook®, MySpace™, LinkedIn® – FAST!



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

Reply via email to