You could just target LLVM IR (or even simpler transpile to C). Should not take that much time for s.o. who knows what he is doing.