Compiler workspace (jsaw) related to jsaw-core, containing the WasmGC backend (portal-jsc-waffle) and the mobile emitters that lower the same IR to Java and Swift (see docs/plan-wasmgc-mobile-backends.md).
- Implement specific backends for
jsaw - WasmGC → Java/Swift mobile emitters (docs/plan-wasmgc-mobile-backends.md)
- Integrate with
jsaw-coreIR
crates/portal-jsc-waffle— the WasmGC backend (convert_moduleslowers a linked ES module set to a Waffle IR module;to_wasm_bytesencodes WasmGC).crates/mobile/portal-jsc-{mob,jvm,swift}-emit— emit the same IR as Java / Swift for mobile.crates/jsaw-wasi-bin— the whole compiler as awasm32-wasip1binary (JSON manifest on stdin, one JSON result line on stdout), so any host that can run Wasm/WASI can compile JS → WasmGC / Java / Swift.gradle/jsaw-gradle-plugin— thedev.portal.jsawGradle plugin, which runs that compiler wasm inside the build via Chicory (seedocs/gradle-plugin.md).
- Workspace setup with backend crates
AI assisted