WebAssembly / WebAssembly/wabt
Exception proposal support is the legacy implementation
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.1k
- Forks
- 827
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 18
Description
I tried running wast2json over a wast file with keywords from the latest exception proposal and it failed, taking a look at the lexer I can see it is based on the old implementation and doesn't understand instructions like try_table. It might be worth removing it from the support table or maybe annotating it to say the support is for the legacy implementation
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the wast2json lexer and the support table, then reproduce the failure using a wast file containing the try_table instruction. Check how exception proposal support is represented and determine whether the issue is resolved by correcting the table annotation or by updating the legacy handling; done means the documented support matches the implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, wasm
- Domain
- compilers, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100