| 1 |
# `wit-parser` |
| 2 |
|
| 3 |
A Rust crate for parsing and interpreting the [`*.wit`][wit] text format. This |
| 4 |
text format is used to describe the imports and exports of a [component]. |
| 5 |
|
| 6 |
[wit]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md |
| 7 |
[component]: https://github.com/webassembly/component-model |
| 8 |
|
| 9 |
This crate is a low-level tooling crate which is intended to be integrated |
| 10 |
further into toolchains elsewhere and isn't necessarily interacted with on a |
| 11 |
day-to-day basis. Internally it supports parsing a `*.wit` document into a |
| 12 |
structured AST. Additionally it implements mechanisms of the canonical ABI to |
| 13 |
assist in binding the canonical ABI into various languages. |