Haha I stole inspiration from @spritelyinst's work on Hoot tonight, and implemented a macro in Elixir that lets me generate WebAssembly modules.
This program generates a Wasm4 game that lets me control a smiley face using my arrow keys.
Next up will be lowering directly from high-level Elixir code, so that you don't need to manually write everything as stack operations.
@quinn @spritelyinst how much did it take you? Or Elixir already had some webassembly implementation? I'm asking because it took me like a month to implement webassembly in #Lean and I'm trying to understand if I should feel bad about it.
@quinn @spritelyinst ah! Okay! So you assemble and run in an existing runtime. Still really cool!