summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-28 21:34:52 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-28 21:34:52 -0800
commitb2aef8cfb300f5095486e66c59cf4fd0dd7bf320 (patch)
tree794e3211925af97982bd2959842e811ba2e6a803
parentb7967131b07daca8826945828c3fd155e3889ba6 (diff)
downloadbinaryen-b2aef8cfb300f5095486e66c59cf4fd0dd7bf320.tar.gz
binaryen-b2aef8cfb300f5095486e66c59cf4fd0dd7bf320.tar.bz2
binaryen-b2aef8cfb300f5095486e66c59cf4fd0dd7bf320.zip
readme update
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9f2f04775..10b9aa2ec 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ This repository contains code that builds the following tools in `bin/`:
* **binaryen-shell**: A shell that can load and interpret WebAssembly code in S-Expression format, as well as run transformation passes on it. It can also run the spec test suite.
* **asm2wasm**: An asm.js-to-WebAssembly compiler, built on Emscripten's asm optimizer infrastructure. That can directly compile asm.js to WebAssembly.
- * **wasm.js**: A polyfill for WebAssembly support in browsers. It receives an asm.js module, parses it using an internal build of `asm2wasm`, and runs the resulting WebAssembly in a WebAssembly interpreter. It provides what looks like an asm.js module, while running WebAssembly inside.
+ * **wasm.js**: A WebAssembly-to-JavaScript bridge. wasm.js contains Binaryen components compiled to JavaScript, including the interpreter, asm2wasm, the S-Expression parser, etc., which allow you to load WebAssembly and execute it even if the browser doesn't have native support yet. Having `asm2wasm` also gives the option to take an asm.js build and execute it as WebAssembly, which is useful for testing.
Usage instructions for each are below.