https://github.com/michareiser/speedy.js-playground
Get started with Speedy.js
https://github.com/michareiser/speedy.js-playground
speedyjs typescript webassembly webpack webpack2
Last synced: about 2 months ago
JSON representation
Get started with Speedy.js
- Host: GitHub
- URL: https://github.com/michareiser/speedy.js-playground
- Owner: MichaReiser
- License: mit
- Created: 2017-05-28T11:01:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-09T06:11:31.000Z (about 9 years ago)
- Last Synced: 2025-03-28T01:16:20.302Z (about 1 year ago)
- Topics: speedyjs, typescript, webassembly, webpack, webpack2
- Language: TypeScript
- Size: 27.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Speedy.js Playground
## Getting Started
Clone this git repository:
```bash
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](https://github.com/MichaReiser/speedy.js#getting-started))
```bash
npm install
```
The final step is to start the WebPack Dev Server using `npm start`.
```bash
npm start
```
Start hacking!
## Dig deeper
Are you interested in the details? You can call the Speedy.js compiler manually using the following command:
``` bash
$(npm bin)/speedyjs --help
```
You can find a detailed description of the CLI in [the wiki](https://github.com/MichaReiser/speedy.js/wiki/CLI) of the [Speedy.js project page](https://github.com/MichaReiser/speedy.js).
### LLVM-Commands
You can determine the path of the LLVM tools used by Speedy.js by using
```bash
$(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:
```bash
$($(npm config get LLVM_CONFIG) --bindir)/llvm-dis --version
```