@@ -29,7 +29,7 @@ See [Gated Features] for an explanation of emoji like 🔧 and 🏷️.
2929
3030[ IDL ] : https://en.wikipedia.org/wiki/Interface_description_language
3131[ components ] : https://github.com/webassembly/component-model
32- [ Gated Features ] : Explainer .md#gated-features
32+ [ Gated Features ] : Text .md#gated-features
3333
3434## Package Names
3535
@@ -86,7 +86,7 @@ Package names are used to generate the [names of imports and exports]
8686in the Component Model's representation of [ ` interface ` s] [ interfaces ] and
8787[ ` world ` s] [ worlds ] as described [ below] ( #package-format ) .
8888
89- [ names of imports and exports ] : Explainer .md#import-and-export-definitions
89+ [ names of imports and exports ] : Text .md#import-and-export-definitions
9090
9191## WIT Interfaces
9292[ interfaces ] : #wit-interfaces
@@ -262,7 +262,7 @@ declared. In the case of worlds, all imported names are in the same scope,
262262but separate from all the export names, and thus the same name can * not* be
263263imported twice, but * can* be both imported and exported.
264264
265- [ Plain Name ] : Explainer .md#import-and-export-definitions
265+ [ Plain Name ] : Text .md#import-and-export-definitions
266266
267267### Union of Worlds with ` include `
268268
@@ -824,7 +824,7 @@ defined within each language as well.
824824[ identifiers ] : #wit-identifiers
825825
826826Identifiers in WIT can be defined with two different forms. The first is the
827- [ kebab-case] [ ` label ` ] ( Explainer .md#import-and-export-names) production in the
827+ [ kebab-case] [ ` label ` ] ( Text .md#import-and-export-names) production in the
828828Component Model text format.
829829
830830``` wit
@@ -1421,7 +1421,7 @@ As a future extension, WIT, components and component registries may allow
14211421nesting both namespaces and packages, which would then generalize the syntax of
14221422` use-path ` as suggested by the 🪺 suffixed rule.
14231423
1424- [ Interface Name ] : Explainer .md#import-and-export-definitions
1424+ [ Interface Name ] : Text .md#import-and-export-definitions
14251425
14261426## Item: ` world `
14271427
@@ -1508,7 +1508,7 @@ world my-world {
15081508}
15091509```
15101510
1511- [ `componenttype` ] : Explainer .md#type-definitions
1511+ [ `componenttype` ] : Text .md#type-definitions
15121512
15131513## Item: ` include `
15141514
@@ -1582,7 +1582,7 @@ replacing the `func` keyword with `get` or `set`. Such functions cannot be
15821582async and have additional restrictions on their parameters and results as
15831583defined in [ Binary.md] ( Binary.md#import-and-export-definitions ) . Each setter
15841584must have a corresponding getter with the same name (not just equal under
1585- [ strong uniqueness] ( Explainer .md#name-uniqueness) ), though in WIT the getter
1585+ [ strong uniqueness] ( Text .md#name-uniqueness) ), though in WIT the getter
15861586and setter may appear in any order. For example, the following definitions:
15871587
15881588``` wit
@@ -1801,7 +1801,7 @@ written return type and are given the implicit return type `r`.
18011801📡 A resource statement can also contain any number of * getters* and
18021802* setters* , which may or may not be static. Every setter must have a
18031803corresponding getter with the same name (not just equal under [ strong
1804- uniqueness] ( Explainer .md#name-uniqueness) ) and same static-ness, though the two
1804+ uniqueness] ( Text .md#name-uniqueness) ) and same static-ness, though the two
18051805may appear in any order. The parameter and return types of getters and setters
18061806have extra restrictions defined in [ Binary.md] ( Binary.md#import-and-export-definitions ) .
18071807
@@ -2052,7 +2052,7 @@ record bar2 {
20522052[ package-format ] : #package-format
20532053
20542054Each top-level WIT definition can be compiled into a single canonical
2055- Component Model [ type definition] ( Explainer .md#type-definitions) that
2055+ Component Model [ type definition] ( Text .md#type-definitions) that
20562056captures the result of performing the type resolution described above. These
20572057Component Model types can then be exported by a component along with other
20582058sorts of exports, allowing a single component to package both runtime
@@ -2069,7 +2069,7 @@ Using component binaries to package WIT in this manner has several advantages:
20692069 downstream tooling, similar to what has happened with the Core WebAssembly
20702070 WAT text format over time.
20712071* When components are published in registries and assigned names (see the
2072- discussion of naming in [ Import and Export Definitions] ( Explainer .md#import-and-export-definitions) ),
2072+ discussion of naming in [ Import and Export Definitions] ( Text .md#import-and-export-definitions) ),
20732073 WIT interfaces and worlds can be published with the same tooling and named
20742074 using the same ` namespace:package/export ` naming scheme.
20752075* A single package can both contain an implementation and a collection of
@@ -2251,7 +2251,7 @@ able to be used to compile a component without additional type information.
22512251
22522252🏷️ When a world imports or exports a named interface with a custom plain name
22532253(using the ` id: use-path ` syntax), the encoding uses the ` (implements "I") `
2254- annotation defined in [ Explainer .md] ( Explainer .md#import-and-export-definitions) to indicate which
2254+ annotation defined in [ Text .md] ( Text .md#import-and-export-definitions) to indicate which
22552255interface the instance implements. Note though that each copy implements a
22562256unique version of the interface in question. For example, the following WIT:
22572257
@@ -2306,7 +2306,7 @@ The `(implements "local:demo/store")` prefix tells bindings generators and
23062306toolchains which interface each plain-named instance import implements, while
23072307the labels ` one ` and ` two ` provide distinct plain names. This is a case of
23082308the general ` (implements ..) ` pattern described in
2309- [ Explainer .md] ( Explainer .md#import-and-export-definitions) . Also note here that
2309+ [ Text .md] ( Text .md#import-and-export-definitions) . Also note here that
23102310two copies of the ` "bucket" ` resource are imported for the ` local:demo/w ` world.
23112311This is because the interfaces ` one ` and ` two ` duplicate the ` store ` interface.
23122312Note that this can import just a single ` bucket ` resource by extracting out the
0 commit comments