partially compiling compiler using emcc