Show HN: Wrote a tiny WebAssembly (wat2wasm) compiler in Go (github.com)

75 points by thomscoder ↗ HN
As a personal project I wrote a really tiny Wat 2 Wasm compiler in Go. Mainly for demonstrative and educational purposes. It was tough: I didn't know anything about WebAssembly internals and I'm a newbie with Go... so I tried to document it as much as I could for anyone that would like to approach the quest in the future!

It misses a lot of features (that will be gradually implemented).

Any feedback is welcomed!!

Demo: https://luna-demo.vercel.app

2 comments

[ 3.0 ms ] story [ 16.2 ms ] thread
Very cool! Keep going! It has a lot of potential
Thank you very much! I will, full force on it :)