May 2015
Intermediate to advanced
296 pages
5h 10m
English
In this recipe, we will briefly discuss how we can convert LLVM IR to JavaScript.
To convert IR to JavaScript, perform the following steps:
emscripten LLVM to JavaScript compiler. You need to download the SDK provided at https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html . You can also build it from the source code, but just for experimenting, you can use the SDK that comes with the toolchain.default-jre, nodejs, cmake, build-essential, and git dependencies../emsdk update ./emsdk install latest
Read now
Unlock full access