#syntax-tree #ast #wat #text-format #binary-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

#934 in WebAssembly

Download history 4/week @ 2024-02-13 13/week @ 2024-02-20 26/week @ 2024-02-27 16/week @ 2024-03-05 27/week @ 2024-03-12 17/week @ 2024-03-19 13/week @ 2024-03-26 28/week @ 2024-04-02 11/week @ 2024-04-09 33/week @ 2024-04-16

87 downloads per month
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