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
4242
4343* An optional * version field* , specified as [ full semver] ( https://semver.org/ ) .
4444
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+
4550Package names are specified at the top of a WIT file via a ` package `
4651declaration:
4752
@@ -853,6 +858,7 @@ wit-file ::= package-decl? (toplevel-use-item | interface-item | world-item)*
853858```
854859
855860## Package declaration
861+ [ package declaration ] : #package-declaration
856862
857863WIT files optionally start with a package declaration which defines the ID of
858864the package.
You can’t perform that action at this time.
0 commit comments