Nice work!
I will try to install in Linux again. What are the packages/libraries
needed?

Thanks,
Ian Liu.

On 12/3/06, Nicolas Cannasse <[EMAIL PROTECTED]> wrote:

> Hi Nicolas,
>
> thanks once more (bit late) for a great release. I have two questions,
though:
>
> Nicolas Cannasse <[EMAIL PROTECTED]> (on Wed, 22 Nov 2006
16:12:29 +0100):
>
>   >   * fixes in more-than-five-arguments-calls
>
> does that mean neko functions can now have 5 arguments? At least, i
still get a
>   Uncaught exception - callback.c(69) : Too many arguments for a call
> if i try.

Neko functions can have more than 5 arguments without any problem :

f = function(a,b,c,d,e,f) { }
f(1,2,3,4,5,6);

The was some bugs when accessing "this" in arguments , for example :

o.f(1,2,3,this.x,5,6);

Which is now fixed.

> if this is not related, is the 5-arguments limit something that will go
away ever? While easy to work around, it remains one of the very few
constant annoyances in neko.

There's no more such a limit. But >5 arguments calls are slower than
normal calls.

>   >   * added $varargs
>
> is there some elaboration on that somewhere? what is it? an Array?

http://nekovm.org/doc/view/builtins
This is used to turn a 1-argument function into a Variable-arguments one.

Nicolas

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

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

Reply via email to