File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ All WIT packages are assigned a *package name*. Package names look like
42
42
43
43
* An optional * version field* , specified as [ full semver] ( https://semver.org/ ) .
44
44
45
+ 🪺 With "nested namespaces and packages", package names are generalized to look
46
+ like ` foo:bar:baz/quux ` , where ` bar ` is a nested namespace of ` foo ` and ` quux `
47
+ is a nested package of ` baz ` . See the [ package declaration] section for more
48
+ details.
49
+
45
50
Package names are specified at the top of a WIT file via a ` package `
46
51
declaration:
47
52
@@ -853,6 +858,7 @@ wit-file ::= package-decl? (toplevel-use-item | interface-item | world-item)*
853
858
```
854
859
855
860
## Package declaration
861
+ [ package declaration ] : #package-declaration
856
862
857
863
WIT files optionally start with a package declaration which defines the ID of
858
864
the package.
You can’t perform that action at this time.
0 commit comments