And this is me again :). I'm in rush. So I can't hold myself on, but I can find things out. :)

First results

Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import neko
>>> g = neko.globals()
>>> g
<Neko Object at 0x009D1FA0>
>>> str(g)
'{ args => [], cache => {}, loadmodule => #function:2, path => [c:\\Work\\neko-1
.6.0-win\\PythoNeko/,null], loadprim => #function:2, __libs => #abstract }'
>>> testprim=g.loadprim("[EMAIL PROTECTED]", 0)
>>> testprim()
Calling a function inside std library...
>>>



This is the output or my python console.

Posture of things

Python "neko" module have a single function "globals" which returns "neko_default_loader" result;

At initialization I make such operation:
    neko_global_init(NULL);
    vm = neko_vm_alloc(NULL);
    neko_vm_select(vm);

Now I can convert values from python into neko and back.

Already wrapped: atribute/field searching, calling, printing as representaion, conversion to string.

Bye

I have a results, but I'm still waiting your answers on my question. Maybe I'm doing something wrong.

I like your (or maybe not) idea of kinds. Do you know that Python have same mechanism for low-level type extension?
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to