summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2020-04-07 18:58:24 -0700
committerGitHub <noreply@github.com>2020-04-07 18:58:24 -0700
commit392881de0eeb05e26c909a6b7acea0e05e8ad672 (patch)
tree43e2c2a3b7cec11e6933c57256d85ac98f4cfb9f /README.md
parentae2140ddc6969ef53599fe2fab81818de65db875 (diff)
downloadwabt-392881de0eeb05e26c909a6b7acea0e05e8ad672.tar.gz
wabt-392881de0eeb05e26c909a6b7acea0e05e8ad672.tar.bz2
wabt-392881de0eeb05e26c909a6b7acea0e05e8ad672.zip
Add documentation for wast2json (#1383)
This primarily is documentation for the JSON format produced.
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 3b398178..d9dac521 100644
--- a/README.md
+++ b/README.md
@@ -184,7 +184,7 @@ If you want to add new keywords, you'll need to install
[gperf](https://www.gnu.org/software/gperf/). Before you upload your PR, please
run `make update-gperf` to update the prebuilt C++ sources in `src/prebuilt/`.
-## Running wat2wasm and wast2json
+## Running wat2wasm
Some examples:
@@ -198,10 +198,6 @@ $ bin/wat2wasm test.wat -o test.wasm
# parse spec-test.wast, and write verbose output to stdout (including the
# meaning of every byte)
$ bin/wat2wasm spec-test.wast -v
-
-# parse spec-test.wast, and write files to spec-test.json. Modules are written
-# to spec-test.0.wasm, spec-test.1.wasm, etc.
-$ bin/wast2json spec-test.wast -o spec-test.json
```
You can use `--help` to get additional help:
@@ -260,6 +256,10 @@ You can use `--help` to get additional help:
$ bin/wasm-interp --help
```
+## Running wast2json
+
+See [wast2json.md](docs/wast2json.md).
+
## Running wasm-decompile
For example: