File tree 6 files changed +22
-8
lines changed
src/pykwasm/kdist/wasm-semantics
6 files changed +22
-8
lines changed Original file line number Diff line number Diff line change 1
- 0.1.76
1
+ 0.1.77
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
5
5
[tool .poetry ]
6
6
name = " pykwasm"
7
- version = " 0.1.76 "
7
+ version = " 0.1.77 "
8
8
description = " "
9
9
authors = [
10
10
" Runtime Verification, Inc. <[email protected] >" ,
Original file line number Diff line number Diff line change @@ -107,17 +107,29 @@ module WASM-TEXT-COMMON-SYNTAX
107
107
| "table.grow" Index
108
108
| "table.fill" Index
109
109
| "table.copy" Index Index
110
- | "table.copy" [macro]
111
110
| "table.init" Index Index
112
- | "table.init" Index [macro]
113
111
| "elem.drop" Index
114
112
| "call_indirect" Index TypeUse
115
- | "call_indirect" TypeUse [macro]
116
- // ---------------------------------------
113
+ // ---------------------------------------------------
114
+
117
115
// Abbreviations
116
+ syntax PlainInstr ::= "table.get" [macro]
117
+ | "table.set" [macro]
118
+ | "table.size" [macro]
119
+ | "table.grow" [macro]
120
+ | "table.fill" [macro]
121
+ | "table.copy" [macro]
122
+ | "table.init" Index [macro]
123
+ | "call_indirect" TypeUse [macro]
124
+ // -----------------------------------------------------
125
+ rule table.get => table.get 0
126
+ rule table.set => table.set 0
127
+ rule table.size => table.size 0
128
+ rule table.grow => table.grow 0
129
+ rule table.fill => table.fill 0
130
+ rule table.copy => table.copy 0 0
118
131
rule table.init I => table.init 0 I
119
132
rule call_indirect TU:TypeUse => call_indirect 0 TU
120
- rule table.copy => table.copy 0 0
121
133
122
134
syntax PlainInstr ::= IValType "." StoreOpM
123
135
| FValType "." StoreOpM
Original file line number Diff line number Diff line change @@ -22,3 +22,4 @@ memory.wast
22
22
select.wast
23
23
skip-stack-guard-page.wast
24
24
table_copy.wast
25
+ tokens.wast
Original file line number Diff line number Diff line change @@ -12,4 +12,5 @@ left-to-right.wast
12
12
linking.wast
13
13
memory_redundancy.wast
14
14
memory_trap.wast
15
+ tokens.wast
15
16
traps.wast
You can’t perform that action at this time.
0 commit comments