You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
global: ( global <type>* ) | ( global <name> <type> )
198
+
table: ( table <var>* )
199
+
memory: ( memory <int> <int>? <segment>* )
200
+
segment: ( segment <int> "<char>*" )
201
201
```
202
202
203
203
Here, productions marked with respective comments are abbreviation forms for equivalent expansions.
204
204
205
-
The data string is used to initialise the lower end of the memory. It is an ASCII string, that can have the usual escape sequences, or hex escapes of the form `\xx` to denote a single byte.
205
+
The segment string is used to initialise the memory at the given offset. It is an ASCII string, but also can contain escape sequences. The supported escape codes are `\n` (newline), '\t' (tab), `\\` (backslash), `\'` (single quote) or `\"` (double quote). To denote an arbitrary byte, use a hex escape of the form `\xx`.
0 commit comments