diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-11 20:40:57 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-11 20:40:57 -0800 |
commit | 17a0a9dfd614859d46d9021c71e4d7e9928573dc (patch) | |
tree | bc090657d25a8abb10c0aa97a0b6b7da976dbd1f | |
parent | 4427bdc5a1697d1eb255cf95237856f5bc7796bf (diff) | |
download | binaryen-17a0a9dfd614859d46d9021c71e4d7e9928573dc.tar.gz binaryen-17a0a9dfd614859d46d9021c71e4d7e9928573dc.tar.bz2 binaryen-17a0a9dfd614859d46d9021c71e4d7e9928573dc.zip |
text
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,12 +1,12 @@ # Binaryen -Binaryen is a C++ library for processing WebAssembly. It can: +Binaryen is a C++ library for WebAssembly. It can: * **Interpret** WebAssembly. It passes 100% of the spec test suite. * **Compile** asm.js to WebAssembly, which together with [Emscripten](http://emscripten.org), gives you a complete compiler toolchain from C and C++ to WebAssembly. * **Polyfill** WebAssembly, by running it in the interpreter compiled to JavaScript, if the browser does not yet have native support. -To provide those capabilities, Binaryen has a simple and flexible API for representing and processing WebAssembly modules. The interpreter, validator, pretty-printer, etc. are built on that foundation. The core of this is in [wasm.h](https://github.com/WebAssembly/binaryen/blob/master/src/wasm.h), which contains both classes that define a WebAssembly module, and tools to process those. For a simple example of how to use Binaryen, see [test/example/find_div0s.cpp]([wasm.h](https://github.com/WebAssembly/binaryen/blob/master/test/example/find_div0s.cpp), which creates a module and then searches it for a specific pattern. +To provide those capabilities, Binaryen has a simple and flexible API for **representing and processing** WebAssembly modules. The interpreter, validator, pretty-printer, etc. are built on that foundation. The core of this is in [wasm.h](https://github.com/WebAssembly/binaryen/blob/master/src/wasm.h), which contains both classes that define a WebAssembly module, and tools to process those. For a simple example of how to use Binaryen, see [test/example/find_div0s.cpp]([wasm.h](https://github.com/WebAssembly/binaryen/blob/master/test/example/find_div0s.cpp), which creates a module and then searches it for a specific pattern. ## Tools |