WIP patches for parsing, AST, text, etc. of try/catch/throw operators. Currently these are just structural placeholders with no actual exception handling wired up. For now, `throw` is more or less a `drop` that only accepts I32; `try` is like an `if` with no condition; and `catch` is like an `else` but with an element of `getLocal` for the catch-parameter.
Created attachment 8832340 [details] [diff] [review] Part 1 - stubs for various future functions This is roughly based on all the places where we have code for `growMemory`.
Created attachment 8832341 [details] [diff] [review] Part 2 - throw keyword This works reasonably well and includes some tests.
Not sure what the deadline is. Marking as P3. Feel free to update.
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.