Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions interpreter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,10 +391,15 @@ module:
( module <name>? quote <string>* ) ;; module quoted in text (may be malformed)

action:
( invoke <name>? <string> <const>* ) ;; invoke function export
( invoke <name>? <string> <arg>* ) ;; invoke function export
( get <name>? <string> ) ;; get global export
( set <name>? <string> <arg> ) ;; set global export

const:
arg:
<literal> ;; literal argument
<action> ;; expression argument

literal:
( <num_type>.const <num> ) ;; number value
( <vec_type> <vec_shape> <num>+ ) ;; vector value
( ref.null <ref_kind> ) ;; null reference
Expand All @@ -410,7 +415,7 @@ assertion:
( assert_trap <module> <failure> ) ;; assert module traps on instantiation

result:
<const>
<literal>
( <num_type>.const <num_pat> )
( <vec_type>.const <vec_shape> <num_pat>+ )
( ref.extern )
Expand Down
Loading