Skip to content

Commit e56ef21

Browse files
committed
Adjust readme
1 parent 5567def commit e56ef21

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

interpreter/README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ op:
233233
table.copy <var>? <var>?
234234
table.init <var>? <var>
235235
elem.drop <var>
236-
<val_type>.load((8|16|32)_<sign>)? <offset>? <align>?
237-
<val_type>.store(8|16|32)? <offset>? <align>?
236+
<num_type>.load((8|16|32)_<sign>)? <offset>? <align>?
237+
<num_type>.store(8|16|32)? <offset>? <align>?
238238
memory.size
239239
memory.grow
240240
memory.fill
@@ -244,12 +244,12 @@ op:
244244
ref.null <ref_kind>
245245
ref.is_null <ref_kind>
246246
ref.func <var>
247-
<val_type>.const <value>
248-
<val_type>.<unop>
249-
<val_type>.<binop>
250-
<val_type>.<testop>
251-
<val_type>.<relop>
252-
<val_type>.<cvtop>_<val_type>(_<sign>)?
247+
<num_type>.const <value>
248+
<num_type>.<unop>
249+
<num_type>.<binop>
250+
<num_type>.<testop>
251+
<num_type>.<relop>
252+
<num_type>.<cvtop>_<num_type>(_<sign>)?
253253
254254
func: ( func <name>? <func_type> <local>* <instr>* )
255255
( func <name>? ( export <string> ) <...> ) ;; = (export <string> (func <N>)) (func <name>? <...>)
@@ -362,11 +362,11 @@ assertion:
362362
( assert_trap <module> <failure> ) ;; assert module traps on instantiation
363363
364364
result:
365-
( <val_type>.const <numpat> )
365+
( <num_type>.const <num_pat> )
366366
( ref.extern )
367367
( ref.func )
368368
369-
numpat:
369+
num_pat:
370370
<value> ;; literal result
371371
nan:canonical ;; NaN in canonical form
372372
nan:arithmetic ;; NaN with 1 in MSB of payload
@@ -421,9 +421,11 @@ assertion:
421421
( assert_trap <module> <failure> ) ;; assert module traps on instantiation
422422
423423
result:
424-
( <val_type>.const <numpat> )
424+
( <num_type>.const <num_pat> )
425+
( ref.extern )
426+
( ref.func )
425427
426-
numpat:
428+
num_pat:
427429
<value> ;; literal result
428430
nan:canonical ;; NaN in canonical form
429431
nan:arithmetic ;; NaN with 1 in MSB of payload

0 commit comments

Comments
 (0)