Skip to content

Commit

Permalink
Modernize the WIT.md description
Browse files Browse the repository at this point in the history
This commit brings the `WIT.md` file up-to-date with recent developments
in WIT. I've added a new "introduction section" which is a higher-level
explanation of the format than the lexical/syntactic structure. I've
also edited the syntactic structure to clarify a few old references and
remove `resource`, `future`, and `stream` types for now. (resources to
be added soon I suspect)

Additionally I've added a description of a binary format for WIT based
on the component model. This binary format is intended to be the "types
only" mode of the `wasm-tools component` tooling, although it doesn't
match the current implementation and the `wasm-tools` repo will need to
be updated. This representation, however, provides the means by which to
understand what it means for a component to have the type of a `world`,
namely it's a subtype of the binary representation's component type.
  • Loading branch information
alexcrichton committed Dec 6, 2022
1 parent 0d96673 commit 8db9a86
Showing 1 changed file with 644 additions and 108 deletions.
Loading

0 comments on commit 8db9a86

Please sign in to comment.