wain-ast 0.2.2

WebAssembly abstract syntax tree definition used by both binary format and text format for wain project
Documentation
wain-ast
========
[![crates.io][crates-io-badge]][crates-io]
[![CI][ci-badge]][ci]

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

This crate is part of larger [wain][proj] project.


## Installation

```toml
[dependencies]
wain-ast = "0"
```


## Usage

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

- [wain-syntax-text]https://crates.io/crates/wain-syntax-text
- [wain-syntax-binary]https://crates.io/crates/wain-syntax-binary

Working examples can be seen at [examples/api/ directory][examples]

Please read documentation (not yet) for details.


## License

[the MIT license](./LICENSE.txt)

[ci-badge]: https://github.com/rhysd/wain/workflows/CI/badge.svg?branch=master&event=push
[ci]: https://github.com/rhysd/wain/actions?query=workflow%3ACI+branch%3Amaster+event%3Apush
[crates-io-badge]: https://img.shields.io/crates/v/wain-ast.svg
[crates-io]: https://crates.io/crates/wain-ast
[gh]: https://github.com/rhysd/wain/tree/master/wain-ast
[wasm-spec-structure]: https://webassembly.github.io/spec/core/syntax/index.html
[proj]: https://github.com/rhysd/wain
[examples]: https://github.com/rhysd/wain/tree/master/examples/api