Lua Alchemy is a port of the Lua programming language for ActionScript using Alchemy. Using v0.1a inside Flash/Flex you can create any ActionScript class available at runtime, call functions, get/set properties on ActionScript objects and use Lua functions as an ActionScript function (including event listeners).
The project can be found here:
http://code.google.com/p/lua-alchemy/
A demo can be found here:
http://www.arcanearcade.com/Flex/LuaAlchemyDemoV.1a/index.html
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?
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.