#syntax-tree #wat #text-format #binary-format #tree-structure

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

#192 in WebAssembly

Download history 1/week @ 2024-02-12 15/week @ 2024-02-19 23/week @ 2024-02-26 19/week @ 2024-03-04 25/week @ 2024-03-11 18/week @ 2024-03-18

86 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