Skip to content

MichaReiser/speedy.js-playground

Repository files navigation

Speedy.js Playground

Getting Started

Clone this git repository:

git clone https://github.com/MichaReiser/speedy.js-playground.git

Then run npm install to install all dependencies (ensure your computer fulfills the requirements of Speedy.js)

npm install

The final step is to start the WebPack Dev Server using npm start.

npm start

Start hacking!

Dig deeper

Are you interested in the details? You can call the Speedy.js compiler manually using the following command:

$(npm bin)/speedyjs --help

You can find a detailed description of the CLI in the wiki of the Speedy.js project page.

LLVM-Commands

You can determine the path of the LLVM tools used by Speedy.js by using

$(npm config get LLVM_CONFIG) --bindir

You have to use the same LLVM tools as Speedy.js in case you want to disassemble a bitcode file. Otherwise, the LLVM command might fail with a version mismatch error. For example, you can call llvm-dis using the following command:

$($(npm config get LLVM_CONFIG) --bindir)/llvm-dis --version