flua

Lua VM for Actionscript

Jason Neufeld

Project

I've started this project to fulfill a need for my new project, gcre8, which aims to be an online game creation engine specifically for the creation of simple games in a similar vein to the old DOS games ZZT and Megazeux. It is not a compiler, but rather, a bytecode interpreter for code compiled with luac. The ultimate purpose is to be used for the client-side game interpreter running on flash 9 or above for running user-created game scripts. Right now the project is in an extreme state of infancy but I'll always appreciate any comments and feedback!

Usage

Here's some sample code for Flash to get you going:

import com.gcre8.flua.*;

var p = new Code();

p.addEventListener("ready",ready);

p.parse("http://path/to/your/lua/file.o");

var vm = new Vm(p);

function ready(e) {
	vm.run(24);
}
	

Releases

TODO