Hacker News new | ask | show | jobs
by kodablah 3112 days 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. 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.
1 comments

Yes I planned to support the spec core tests (that's why I implemented WAST in the first place).
Cool. 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).
Ok thanks, can we connect on twitter? https://twitter.com/svensauleau/.

I can see on your GitHub page that you made the famous WebAssembly to JVM, nice job!

Sorry, I don't do Twitter or FB, though if you want to keep it public, feel free to start a gitter or just open a github issue/discussion and @-mention me.

(Thanks!)

Ok