3 ms·
I saw some tests, but WASM edge cases can get pretty complicated (especially around post-unreachable stack validation logic). I suggest "git-submoduling" the st
by kodablah 9y ago
I saw some tests, but WASM edge cases can get pretty complicated (especially around post-unreachable stack validation logic). I suggest "git-submoduling" the stuff from "core" at https://github.com/WebAssembly/spec/tree/master/test https://github.com/WebAssembly/spec/tree/master/test. This is a pretty good test suite for both your parser and your interpreter and doesn't require too much work on the part of a harness to support.
- xtuc 9y agoYes I planned to support the spec core tests (that's why I implemented WAST in the first place).
- kodablah 9y agoCool. I ran into lots of gotchas when I was doing it. Granted there is a much better written spec now. If you hit any snags, feel free to hit me up (email is on github profile which is on HN profile).
- xtuc 9y agoOk thanks, can we connect on twitter? https://twitter.com/svensauleau/ https://twitter.com/svensauleau/. I can see on your GitHub page that you made the famous WebAssembly to JVM, nice job!