Skip to content

Commit 1bf990b

Browse files
authored
add links to playground (#1610)
* add links to playground * move links to later in doc * fix table hopefully
1 parent b04b598 commit 1bf990b

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -130,27 +130,27 @@ The `wasm-tools` binary internally contains a number of subcommands for working
130130
with wasm modules and component. Many subcommands also come with Rust crates
131131
that can be use programmatically as well:
132132

133-
| CLI | Rust Crate | Description |
134-
|------|------|------------|
135-
| `wasm-tools validate` | [wasmparser] | Validate a WebAssembly file |
136-
| `wasm-tools parse` | [wat] and [wast] | Translate the WebAssembly text format to binary |
137-
| `wasm-tools print` | [wasmprinter] | Translate the WebAssembly binary format to text |
138-
| `wasm-tools smith` | [wasm-smith] | Generate a valid WebAssembly module from an input seed |
139-
| `wasm-tools mutate` | [wasm-mutate] | Mutate an input wasm file into a new valid wasm file |
140-
| `wasm-tools shrink` | [wasm-shrink] | Shrink a wasm file while preserving a predicate |
141-
| `wasm-tools dump` | | Print debugging information about the binary format |
142-
| `wasm-tools objdump` | | Print debugging information about section headers |
143-
| `wasm-tools strip` | | Remove custom sections from a WebAssembly file |
144-
| `wasm-tools demangle` | | Demangle Rust and C++ symbol names in the `name` section |
145-
| `wasm-tools compose` | [wasm-compose] | Compose wasm components together (*deprecated*) |
146-
| `wasm-tools component new` | [wit-component] | Create a component from a core wasm binary |
147-
| `wasm-tools component wit` | | Extract a `*.wit` interface from a component |
148-
| `wasm-tools component embed` | | Embed a `component-type` custom section in a core wasm binary |
149-
| `wasm-tools metadata show` | [wasm-metadata] | Show name and producer metadata in a component or module |
150-
| `wasm-tools metadata add` | | Add name or producer metadata to a component or module |
151-
| `wasm-tools addr2line` | | Translate wasm offsets to filename/line numbers with DWARF |
152-
| `wasm-tools completion` | | Generate shell completion scripts for `wasm-tools` |
153-
| `wasm-tools json-from-wast` | | Convert a `*.wast` file into JSON commands |
133+
| CLI | Rust Crate | Playground | Description |
134+
|------|------|--------|------------|
135+
| `wasm-tools validate` | [wasmparser] | | Validate a WebAssembly file |
136+
| `wasm-tools parse` | [wat] and [wast] | [parse](https://bytecodealliance.github.io/wasm-tools/parse) | Translate the WebAssembly text format to binary |
137+
| `wasm-tools print` | [wasmprinter] | [print](https://bytecodealliance.github.io/wasm-tools/print) | Translate the WebAssembly binary format to text |
138+
| `wasm-tools smith` | [wasm-smith] | | Generate a valid WebAssembly module from an input seed |
139+
| `wasm-tools mutate` | [wasm-mutate] | | Mutate an input wasm file into a new valid wasm file |
140+
| `wasm-tools shrink` | [wasm-shrink] | | Shrink a wasm file while preserving a predicate |
141+
| `wasm-tools dump` | | | Print debugging information about the binary format |
142+
| `wasm-tools objdump` | | | Print debugging information about section headers |
143+
| `wasm-tools strip` | | | Remove custom sections from a WebAssembly file |
144+
| `wasm-tools demangle` | | | Demangle Rust and C++ symbol names in the `name` section |
145+
| `wasm-tools compose` | [wasm-compose] | | Compose wasm components together (*deprecated*) |
146+
| `wasm-tools component new` | [wit-component] | | Create a component from a core wasm binary |
147+
| `wasm-tools component wit` | | | Extract a `*.wit` interface from a component |
148+
| `wasm-tools component embed` | | | Embed a `component-type` custom section in a core wasm binary |
149+
| `wasm-tools metadata show` | [wasm-metadata] | | Show name and producer metadata in a component or module |
150+
| `wasm-tools metadata add` | | | Add name or producer metadata to a component or module |
151+
| `wasm-tools addr2line` | | | Translate wasm offsets to filename/line numbers with DWARF |
152+
| `wasm-tools completion` | | | Generate shell completion scripts for `wasm-tools` |
153+
| `wasm-tools json-from-wast` | | | Convert a `*.wast` file into JSON commands |
154154

155155
[wasmparser]: https://crates.io/crates/wasmparser
156156
[wat]: https://crates.io/crates/wat

playground/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Playground
22

3-
This is a simple online playground for `wasm-tools parse`, available at https://bytecodealliance.github.io/wasm-tools/.
3+
This is a simple online playground for `wasm-tools parse` and `print`, available at https://bytecodealliance.github.io/wasm-tools/parse / https://bytecodealliance.github.io/wasm-tools/print respectively.
44

55
## Building
66

0 commit comments

Comments
 (0)