diff --git a/design/mvp/Binary.md b/design/mvp/Binary.md index b503793e..c74af5cb 100644 --- a/design/mvp/Binary.md +++ b/design/mvp/Binary.md @@ -102,8 +102,9 @@ Notes: for aliases (below). * Validation of `core:instantiatearg` initially only allows the `instance` sort, but would be extended to accept other sorts as core wasm is extended. -* Validation of `instantiate` requires that `name` is present in an - `externname` of `c` (with a matching type). +* Validation of `instantiate` requires that each `` or `` in an + imported `externname` in `c` matches a `string` in a `with` argument and that + the argument's type matches the import's type. * When validating `instantiate`, after each individual type-import is supplied via `with`, the actual type supplied is immediately substituted for all uses of the import, so that subsequent imports and all exports are now specialized @@ -327,23 +328,14 @@ flags are set. (See [Import and Export Definitions](Explainer.md#import-and-export-definitions) in the explainer.) ``` -import ::= en: ed: => (import en ed) -export ::= en: si: ed?:? => (export en si ed?) -externname ::= 0x00 n: => n - | 0x01 n: => (interface n) -id ::= len: n: => n (if len = |n|) - -id-chars ::= ns: