@@ -30,18 +30,18 @@ or *external references* pointing to an uninterpreted form of :ref:`extern addre
30
30
31
31
.. math ::
32
32
\begin {array}{llcl}
33
- \production {( number) } & \num &::=&
33
+ \production {number} & \num &::=&
34
34
\I32 .\CONST ~\i32 \\&&|&
35
35
\I64 .\CONST ~\i64 \\&&|&
36
36
\F32 .\CONST ~\f32 \\&&|&
37
37
\F64 .\CONST ~\f64 \\
38
- \production {( vector) } & \vecc &::=&
38
+ \production {vector} & \vecc &::=&
39
39
\V128 .\CONST ~\i128 \\
40
- \production {( reference) } & \reff &::=&
40
+ \production {reference} & \reff &::=&
41
41
\REFNULL ~t \\&&|&
42
42
\REFFUNCADDR ~\funcaddr \\&&|&
43
43
\REFEXTERNADDR ~\externaddr \\
44
- \production {( value) } & \val &::=&
44
+ \production {value} & \val &::=&
45
45
\num ~|~ \vecc ~|~ \reff \\
46
46
\end {array}
47
47
@@ -79,7 +79,7 @@ It is either a sequence of :ref:`values <syntax-val>` or a :ref:`trap <syntax-tr
79
79
80
80
.. math ::
81
81
\begin {array}{llcl}
82
- \production {( result) } & \result &::=&
82
+ \production {result} & \result &::=&
83
83
\val ^\ast \\&&|&
84
84
\TRAP
85
85
\end {array}
@@ -101,7 +101,7 @@ Syntactically, the store is defined as a :ref:`record <notation-record>` listing
101
101
102
102
.. math ::
103
103
\begin {array}{llll}
104
- \production {( store) } & \store &::=& \{~
104
+ \production {store} & \store &::=& \{~
105
105
\begin {array}[t]{l@{~}ll}
106
106
\SFUNCS & \funcinst ^\ast , \\
107
107
\STABLES & \tableinst ^\ast , \\
@@ -157,21 +157,21 @@ In addition, an :ref:`embedder <embedder>` may supply an uninterpreted set of *h
157
157
158
158
.. math ::
159
159
\begin {array}{llll}
160
- \production {( address) } & \addr &::=&
160
+ \production {address} & \addr &::=&
161
161
0 ~|~ 1 ~|~ 2 ~|~ \dots \\
162
- \production {( function address) } & \funcaddr &::=&
162
+ \production {function address} & \funcaddr &::=&
163
163
\addr \\
164
- \production {( table address) } & \tableaddr &::=&
164
+ \production {table address} & \tableaddr &::=&
165
165
\addr \\
166
- \production {( memory address) } & \memaddr &::=&
166
+ \production {memory address} & \memaddr &::=&
167
167
\addr \\
168
- \production {( global address) } & \globaladdr &::=&
168
+ \production {global address} & \globaladdr &::=&
169
169
\addr \\
170
- \production {( element address) } & \elemaddr &::=&
170
+ \production {element address} & \elemaddr &::=&
171
171
\addr \\
172
- \production {( data address) } & \dataaddr &::=&
172
+ \production {data address} & \dataaddr &::=&
173
173
\addr \\
174
- \production {( extern address) } & \externaddr &::=&
174
+ \production {extern address} & \externaddr &::=&
175
175
\addr \\
176
176
\end {array}
177
177
@@ -204,7 +204,7 @@ and collects runtime representations of all entities that are imported, defined,
204
204
205
205
.. math ::
206
206
\begin {array}{llll}
207
- \production {( module instance) } & \moduleinst &::=& \{
207
+ \production {module instance} & \moduleinst &::=& \{
208
208
\begin {array}[t]{l@{~}ll}
209
209
\MITYPES & \functype ^\ast , \\
210
210
\MIFUNCS & \funcaddr ^\ast , \\
@@ -238,10 +238,10 @@ The module instance is used to resolve references to other definitions during ex
238
238
239
239
.. math ::
240
240
\begin {array}{llll}
241
- \production {( function instance) } & \funcinst &::=&
241
+ \production {function instance} & \funcinst &::=&
242
242
\{ \FITYPE ~\functype , \FIMODULE ~\moduleinst , \FICODE ~\func \} \\ &&|&
243
243
\{ \FITYPE ~\functype , \FIHOSTCODE ~\hostfunc \} \\
244
- \production {( host function) } & \hostfunc &::=& \dots \\
244
+ \production {host function} & \hostfunc &::=& \dots \\
245
245
\end {array}
246
246
247
247
A *host function * is a function expressed outside WebAssembly but passed to a :ref: `module <syntax-module >` as an :ref: `import <syntax-import >`.
@@ -268,7 +268,7 @@ It records its :ref:`type <syntax-tabletype>` and holds a vector of :ref:`refere
268
268
269
269
.. math ::
270
270
\begin {array}{llll}
271
- \production {( table instance) } & \tableinst &::=&
271
+ \production {table instance} & \tableinst &::=&
272
272
\{ \TITYPE ~\tabletype , \TIELEM ~\vec (\reff ) \} \\
273
273
\end {array}
274
274
@@ -292,7 +292,7 @@ It records its :ref:`type <syntax-memtype>` and holds a vector of :ref:`bytes <s
292
292
293
293
.. math ::
294
294
\begin {array}{llll}
295
- \production {( memory instance) } & \meminst &::=&
295
+ \production {memory instance} & \meminst &::=&
296
296
\{ \MITYPE ~\memtype , \MIDATA ~\vec (\byte ) \} \\
297
297
\end {array}
298
298
@@ -316,7 +316,7 @@ It records its :ref:`type <syntax-globaltype>` and holds an individual :ref:`val
316
316
317
317
.. math ::
318
318
\begin {array}{llll}
319
- \production {( global instance) } & \globalinst &::=&
319
+ \production {global instance} & \globalinst &::=&
320
320
\{ \GITYPE ~\globaltype , \GIVALUE ~\val \} \\
321
321
\end {array}
322
322
@@ -338,7 +338,7 @@ It holds a vector of references and their common :ref:`type <syntax-reftype>`.
338
338
339
339
.. math ::
340
340
\begin {array}{llll}
341
- \production {( element instance) } & \eleminst &::=&
341
+ \production {element instance} & \eleminst &::=&
342
342
\{ \EITYPE ~\reftype , \EIELEM ~\vec (\reff ) \} \\
343
343
\end {array}
344
344
@@ -356,7 +356,7 @@ It holds a vector of :ref:`bytes <syntax-byte>`.
356
356
357
357
.. math ::
358
358
\begin {array}{llll}
359
- \production {( data instance) } & \datainst &::=&
359
+ \production {data instance} & \datainst &::=&
360
360
\{ \DIDATA ~\vec (\byte ) \} \\
361
361
\end {array}
362
362
@@ -374,7 +374,7 @@ It defines the export's :ref:`name <syntax-name>` and the associated :ref:`exter
374
374
375
375
.. math ::
376
376
\begin {array}{llll}
377
- \production {( export instance) } & \exportinst &::=&
377
+ \production {export instance} & \exportinst &::=&
378
378
\{ \EINAME ~\name , \EIVALUE ~\externval \} \\
379
379
\end {array}
380
380
@@ -392,7 +392,7 @@ It is an :ref:`address <syntax-addr>` denoting either a :ref:`function instance
392
392
393
393
.. math ::
394
394
\begin {array}{llcl}
395
- \production {( external value) } & \externval &::=&
395
+ \production {external value} & \externval &::=&
396
396
\EVFUNC ~\funcaddr \\&&|&
397
397
\EVTABLE ~\tableaddr \\&&|&
398
398
\EVMEM ~\memaddr \\&&|&
@@ -456,7 +456,7 @@ Labels carry an argument arity :math:`n` and their associated branch *target*, w
456
456
457
457
.. math ::
458
458
\begin {array}{llll}
459
- \production {( label) } & \label &::=&
459
+ \production {label} & \label &::=&
460
460
\LABEL _n\{\instr ^\ast \} \\
461
461
\end {array}
462
462
@@ -485,9 +485,9 @@ and a reference to the function's own :ref:`module instance <syntax-moduleinst>`
485
485
486
486
.. math ::
487
487
\begin {array}{llll}
488
- \production {( activation) } & \X {activation} &::=&
488
+ \production {activation} & \X {activation} &::=&
489
489
\FRAME _n\{\frame \} \\
490
- \production {( frame) } & \frame &::=&
490
+ \production {frame} & \frame &::=&
491
491
\{ \ALOCALS ~\val ^\ast , \AMODULE ~\moduleinst \} \\
492
492
\end {array}
493
493
@@ -529,7 +529,7 @@ In order to express the reduction of :ref:`traps <trap>`, :ref:`calls <syntax-ca
529
529
530
530
.. math ::
531
531
\begin {array}{llcl}
532
- \production {( administrative instruction) } & \instr &::=&
532
+ \production {administrative instruction} & \instr &::=&
533
533
\dots \\ &&|&
534
534
\TRAP \\ &&|&
535
535
\REFFUNCADDR ~\funcaddr \\ &&|&
@@ -590,9 +590,9 @@ In order to specify the reduction of :ref:`branches <syntax-instr-control>`, the
590
590
591
591
.. math ::
592
592
\begin {array}{llll}
593
- \production {( block contexts) } & \XB ^0 &::=&
593
+ \production {block contexts} & \XB ^0 &::=&
594
594
\val ^\ast ~[\_ ]~\instr ^\ast \\
595
- \production {( block contexts) } & \XB ^{k+1 } &::=&
595
+ \production {block contexts} & \XB ^{k+1 } &::=&
596
596
\val ^\ast ~\LABEL _n\{\instr ^\ast \}~\XB ^k~\END ~\instr ^\ast \\
597
597
\end {array}
598
598
@@ -624,9 +624,9 @@ that operates relative to a current :ref:`frame <syntax-frame>` referring to the
624
624
625
625
.. math ::
626
626
\begin {array}{llcl}
627
- \production {( configuration) } & \config &::=&
627
+ \production {configuration} & \config &::=&
628
628
\store ; \thread \\
629
- \production {( thread) } & \thread &::=&
629
+ \production {thread} & \thread &::=&
630
630
\frame ; \instr ^\ast \\
631
631
\end {array}
632
632
@@ -645,7 +645,7 @@ Finally, the following definition of *evaluation context* and associated structu
645
645
646
646
.. math ::
647
647
\begin {array}{llll}
648
- \production {( evaluation contexts) } & E &::=&
648
+ \production {evaluation contexts} & E &::=&
649
649
[\_ ] ~|~
650
650
\val ^\ast ~E~\instr ^\ast ~|~
651
651
\LABEL _n\{\instr ^\ast \}~E~\END \\
0 commit comments