Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support new WIT syntax in
wit-parser
This commit implements the changes outlined in WebAssembly/component-model#193 for the `wit-parser` crate. Namely this updates all parsing, lexing, and resolution of a WIT package. The largest change is that the concept of a "document" has been removed. Additionally most tests needed an update to have a `package foo` header. Intra-package resolution is also a bit trickier now and required a restructuring of the AST resolution pass, but nothing too too radical for what it's doing.
- Loading branch information