Skip to content

Commit d63fa29

Browse files
committed
sync text format with value binary encoding changes
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent 1747d40 commit d63fa29

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

design/mvp/Explainer.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,8 +1371,18 @@ Components may define values in the value index space using following syntax:
13711371
```ebnf
13721372
value ::= (value <id>? <valtype> <val>)
13731373
val ::= false | true
1374-
| <core:i64>
1375-
| <f64canon>
1374+
| (u8 <core:u8>)
1375+
| (u16 <core:u16>)
1376+
| (u32 <core:u32>)
1377+
| (u64 <core:u64>)
1378+
| (s8 <core:s8>)
1379+
| (s16 <core:s16>)
1380+
| (s32 <core:s32>)
1381+
| (s64 <core:s64>)
1382+
| (f32 <f32canon>)
1383+
| (f32 nan)
1384+
| (f64 <f64canon>)
1385+
| (f64 nan)
13761386
| '<core:char>'
13771387
| <core:name>
13781388
| (record <val>+)
@@ -1383,6 +1393,7 @@ val ::= false | true
13831393
| (enum "<label>")
13841394
| none | (some <val>)
13851395
| ok | (ok <val>) | error | (error <val>)
1396+
f32canon ::= <core:f32> without the `nan:0x` case.
13861397
f64canon ::= <core:f64> without the `nan:0x` case.
13871398
```
13881399

0 commit comments

Comments
 (0)