You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@ aWsm - An Awesome Wasm Compiler and Runtime
3
3
4
4
# What is aWsm?
5
5
6
-
aWsm is a compiler and runtime for compiling Web Assembly (Wasm) code into llvm bytecode, then into sandboxed binaries you can run on various platforms.
7
-
It focuses on generating very fast code (best of breed for Web Assembly), having a simple and extensible code-base, and on portability.
6
+
aWsm is a compiler and runtime for compiling WebAssembly (Wasm) code into llvm bytecode, then into sandboxed binaries you can run on various platforms.
7
+
It focuses on generating very fast code (best of breed for WebAssembly), having a simple and extensible code-base, and on portability.
8
8
9
-
**What is Web Assembly?**
9
+
**What is WebAssembly?**
10
10
Wasm is a standard binary format that is *platform agnostic*, *debuggable*, *fast*, and *safe*.
11
11
Please see the [official webpage](https://webassembly.org/), and its [specification](https://webassembly.org/specs/).
12
12
Many languages (including C/C++, Rust, C#, Go, Kotlin, Swift, and more, see a more [complete list](https://webassembly.org/getting-started/developers-guide/)) compile to Wasm.
@@ -28,7 +28,7 @@ Wasm provides a number of benefits outside of the web including:
28
28
**A note on naming.**
29
29
aWsm started out as the `silverfish` compiler, the brainchild of Gregor Peach when he was a researcher in the group.
30
30
There are still quite a few lingering `silverfish` references.
31
-
Please have patience as we update those to `awsm`.
31
+
Please have patience as we update those to `aWsm`.
32
32
33
33
## Why aWsm?
34
34
@@ -173,8 +173,8 @@ ARGS:
173
173
### Debian-based Systems
174
174
175
175
```sh
176
-
git clone https://github.com/gwsystems/awsm.git
177
-
cdawsm
176
+
git clone https://github.com/gwsystems/aWsm.git
177
+
cdaWsm
178
178
./install_deb.sh
179
179
```
180
180
@@ -184,27 +184,27 @@ The compiler can now be run via `silverfish`
3. Link Your Clang Installation so `clang-9` and `llvm-config-9` are in your path and invokable as`clang` and `llvm-config`. For example, the following commands accomplish this using `update-alternatives` after replacing LLVM_VERSION with the version returned you installed above (In *NIX systems, this can be confirmed with `ls /usr/bin/clang*`)
187
+
3. Link Your Clang Installation so `clang-9` and `llvm-config-9` are in your path aliased to`clang` and `llvm-config`. For example, the following commands accomplish this using `update-alternatives` after replacing LLVM_VERSION with the version returned you installed above (In *NIX systems, this can be confirmed with `ls /usr/bin/clang*`)
4.[Install the C++ Standard Library for LLVM](https://libcxx.llvm.org/)
194
-
5. Clone and build awsm
194
+
5. Clone and build aWsm
195
195
```sh
196
-
git clone https://github.com/gwsystems/awsm.git
197
-
cdawsm
196
+
git clone https://github.com/gwsystems/aWsm.git
197
+
cdaWsm
198
198
cargo build --release
199
199
```
200
-
6. The awsm binary is built at `target/release/silverfish`. Copy this to the appropriaate place for your platform and add to your PATH if neccessary.
200
+
6. The aWsm binary is built at `target/release/silverfish`. Copy this to the appropriate place for your platform and add to your PATH if necessary.
201
201
202
202
## Executing and Testing aWsm
203
203
204
204
The tests can run with
205
205
206
206
```sh
207
-
cd code_benches;python run.py
207
+
cd code_benches;./run.py
208
208
```
209
209
210
210
Please see the [design](doc/design.md) to understand the pipeline, and see `run.py` for an example of how to connect existing compilers (to generate Wasm, and generate machine code from LLVM IR) with aWsm.
0 commit comments