The opcode’s were documented, and tools like Haxe do compile to swf. There is a lot of information available about the scripting part, but indeed it would be a great task. However I can’t wait to compile some C++ code using FlasCC [1] and run that in a wasm player.