File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed
Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -1362,20 +1362,21 @@ once at instantiation-time (i.e., they are [linear]).
13621362Components may define values in the value index space using following syntax:
13631363
13641364``` ebnf
1365- value ::= (value <id>? <valtype> <val>)
1366- val ::= false | true
1367- | <core:i64>
1368- | <core:f64> | NaN
1369- | '<core:char>'
1370- | <core:name>
1371- | (record <val>+)
1372- | (variant "<label>" <val>?)
1373- | (list <val>*)
1374- | (tuple <val>+)
1375- | (flags "<label>"*)
1376- | (enum "<label>")
1377- | none | (some <val>)
1378- | ok | (ok <val>) | error | (error <val>)
1365+ value ::= (value <id>? <valtype> <val>)
1366+ val ::= false | true
1367+ | <core:i64>
1368+ | <f64canon>
1369+ | '<core:char>'
1370+ | <core:name>
1371+ | (record <val>+)
1372+ | (variant "<label>" <val>?)
1373+ | (list <val>*)
1374+ | (tuple <val>+)
1375+ | (flags "<label>"*)
1376+ | (enum "<label>")
1377+ | none | (some <val>)
1378+ | ok | (ok <val>) | error | (error <val>)
1379+ f64canon ::= <core:f64> without the `nan:0x` case.
13791380```
13801381
13811382The validation rules for ` value ` require the ` val ` to match the ` valtype ` . For example:
You can’t perform that action at this time.
0 commit comments