Monkey/Wonkey, like Haxe, generates code in different languages which is then compiled. So when you compile a Monkey program, you pick a language, like JS, C++ etc and it generates code in that language first and then compiles that language to something that runs.