from Hacker News

Show HN: A Kotlin DSL for WebAssembly

by dukoid on 5/1/24, 1:00 PM with 0 comments

The initial motivation for this project was just to see how far one can take Kotlin DSLs.

That said, it might be useful for situations where one needs to generate Wasm code in a general Kotlin context.

In a way, this project constitutes a Wasm "macro assembler" with the Kotlin as the "macro language" -- at the price of an "unusual" syntax.