-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can wast2json write out binary modules as they are without error checking? #2374
Comments
Can you explain what the first line is doing? What is the I wonder how hard it would be to add wabt support for the latest exception handling changes? @aheejin ? I suppose it would make sense to extend the meaning of |
it converts
to
|
Not sure, because I'm not very familiar with the wabt internals myself. I reviewed some of the current EH implementation in wabt many years ago but I have to re-familiarize myself with it. I don't think it will be more difficult than the efforts put into the current implementation, but I don't think it will be trivial either. At the moment this is not on my priority to-do list unless something else pops up that requires it. |
i ended up with writing a horrible hack to convert EH wast. |
is there a way to make wast2json ignore errors in binary modules? (
(module binary ...
)i want to convert wast files from exception-handling proposal.
eg. https://github.com/WebAssembly/exception-handling/blob/123ac59cb650e9537ce129bb2977243bcbe9a773/test/core/try_table.wast
i know that wabt doesn't support the latest version of the proposal yet.
however, as the reference interpreter from the proposal repo can covert modules into binary,
if wast2json can write out binary modules as they are without parsing, it would be usable to run (most of) these tests.
The text was updated successfully, but these errors were encountered: