Skip to content

Commit 55e38c0

Browse files
committed
Clarify and regularize text format index parsing rules
Resolves #648
1 parent dd1f6fa commit 55e38c0

4 files changed

Lines changed: 414 additions & 196 deletions

File tree

design/mvp/Binary.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ canon ::= 0x00 0x00 f:<core:funcidx> opts:<opts> ft:<typeidx> => (canon lift
321321
| 0x1d opts:<opts> => (canon error-context.debug-message opts (core func)) 📝
322322
| 0x1e => (canon error-context.drop (core func)) 📝
323323
| 0x1f => (canon waitable-set.new (core func)) 🔀
324-
| 0x20 cancel?:<cancel?> m:<core:memidx> => (canon waitable-set.wait cancel? (memory m) (core func)) 🔀
325-
| 0x21 cancel?:<cancel?> m:<core:memidx> => (canon waitable-set.poll cancel? (memory m) (core func)) 🔀
324+
| 0x20 cancel?:<cancel?> m:<core:memoryidx> => (canon waitable-set.wait cancel? (memory m) (core func)) 🔀
325+
| 0x21 cancel?:<cancel?> m:<core:memoryidx> => (canon waitable-set.poll cancel? (memory m) (core func)) 🔀
326326
| 0x22 => (canon waitable-set.drop (core func)) 🔀
327327
| 0x23 => (canon waitable.join (core func)) 🔀
328328
| 0x26 => (canon thread.index (core func)) 🧵
@@ -344,7 +344,7 @@ opts ::= opt*:vec(<canonopt>) => opt*
344344
canonopt ::= 0x00 => string-encoding=utf8
345345
| 0x01 => string-encoding=utf16
346346
| 0x02 => string-encoding=latin1+utf16
347-
| 0x03 m:<core:memidx> => (memory m)
347+
| 0x03 m:<core:memoryidx> => (memory m)
348348
| 0x04 f:<core:funcidx> => (realloc f)
349349
| 0x05 f:<core:funcidx> => (post-return f)
350350
| 0x06 => async 🔀

0 commit comments

Comments
 (0)