#syntax-tree #wasm-interpreter #ast #binary-format #wasm-binary #text-format

wain-ast

WebAssembly abstract syntax tree definition used by both binary format and text format for wain project

8 releases

0.2.2 Nov 18, 2023
0.2.1 Aug 1, 2020
0.2.0 Jun 11, 2020
0.1.3 May 24, 2020
0.0.0 Mar 29, 2020

#1254 in WebAssembly


Used in 5 crates

MIT license

21KB
563 lines

wain-ast

crates.io CI

wain-ast is a crate to define WebAssembly abstract syntax tree structure. To know structure of WebAssembly, see the spec.

This crate is part of larger wain project.

Installation

[dependencies]
wain-ast = "0"

Usage

This crate only defines structure. The syntax tree is generated by parsers.

Working examples can be seen at examples/api/ directory

Please read documentation (not yet) for details.

License

the MIT license

No runtime deps