lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi, Duncan!

I'm the other guy behind Lua Alchemy.

> Excellent, thank you. I just did a quick test to see if coroutines work -
> they do - do you know if it would be possible to yield across ActionScript
> "frames", or does the whole script need to be executed within a single one
> currently?

No plans to yield across ActionScript "frames" so far. Suggestions on
the form and on the implementation are welcome.

>> The next version will include syntax sugar so instead of calling
>> as3.call(var, "function", param) you could call var.function(param) and
>> similar calls to make calling ActionScript code look the same as calling Lua
>> code.

> Would it not be var:function(param) in that case? I know it probably doesn't
> actually need it to be a Lua method rather than a normal function call, but
> for consistency's sake.

It would most likely be var:function(param).

Alexander.