Stream: wasm

Topic: WIT and semicolons


view this post on Zulip Alex Crichton (Sep 26 2023 at 14:30):

As a heads up the plan is to add semicolons to the WIT text format in the near future. With the spec updated I've updated the wasm-tools repository and hope to publish that today and start integrating it into tools. This means that once that change starts propagating you can start putting semicolons in WIT files.

To avoid breaking too much this is a bit of a phased rollout:

Eventually in the future we'll publish a version of wit-parser that requires semicolons by default but still supports optional semicolons via WIT_REQUIRE_SEMICOLONS=0. Then a bit further in the future the env var will be removed and semicolons will always be required.

This commit commit is an implementation of #142 where semicolons are now required as delimiters between items in the WIT text format. All items in the WIT format are now delimited with either curly...
This commit is an implementation of WebAssembly/component-model#142 to add semicolon delimiters to the WIT text format. The intention of this change is to be rolled out gradually to minimize ecosys...

view this post on Zulip Alex Crichton (Sep 26 2023 at 14:32):

My rough idea for a timeline here is:

view this post on Zulip Alex Crichton (Sep 26 2023 at 14:32):

view this post on Zulip Alex Crichton (Sep 26 2023 at 14:34):

With exact dates being a bit fungible, so for example wasm-tools will on November 5 require semicolons by default since that will then be integrated into Wasmtime for the release later that month. The hope though is that by smearing this over a few months it should reduce churn where if you hit breakage it should be straightforward to fix without requiring everything be updated all at once. In theory. We'll see!


Last updated: Nov 22 2024 at 16:03 UTC