forked from: WonderFLCompiler

