
Compiles WIT specs into interfaces and host/guest bridging for WASM runtimes; includes runtime Tuple/Result types, CLI, Gradle plugin and WASI bindings.
‘brevity is the soul of wit’ –– Polonius in Shakespeare’s Hamlet
This is a Kotlin implementation of a WIT processor. It compiles WIT specifications into Kotlin interfaces, as well as host and guest bridging code for the WASM runtime.
See the Explainer, Overview and Spec.
This project contains documentation and specifications copyrighted by the W3C WebAssembly Community Group, licensed under the Apache license.
Tuple and Result types..wit into .kt..wit files to generate .kt files..wit files..wit.We have several different representations of the .wit code, that fit together in a pipeline.
.wit source code. This isn’t linked and so type
references are just strings and not resolved. Use IoWitPackageReader to load this model.Use and Include. Use
IrMapper to transform io into this model.KotlinPoet files.‘brevity is the soul of wit’ –– Polonius in Shakespeare’s Hamlet
This is a Kotlin implementation of a WIT processor. It compiles WIT specifications into Kotlin interfaces, as well as host and guest bridging code for the WASM runtime.
See the Explainer, Overview and Spec.
This project contains documentation and specifications copyrighted by the W3C WebAssembly Community Group, licensed under the Apache license.
Tuple and Result types..wit into .kt..wit files to generate .kt files..wit files..wit.We have several different representations of the .wit code, that fit together in a pipeline.
.wit source code. This isn’t linked and so type
references are just strings and not resolved. Use IoWitPackageReader to load this model.Use and Include. Use
IrMapper to transform io into this model.KotlinPoet files.