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