M0.1: Delete WAT/WASM generator #19
Labels
No labels
blocked
bug
design
docs
engineering
feature
infra
priority:high
priority:low
priority:medium
question
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: sscoble/speckl#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Remove the WAT (WebAssembly Text) generator from the compiler. It's architecturally wrong — every Map/Set operation crosses the WASM boundary into JavaScript, so the WASM module doesn't compute anything meaningful. WASM will be a byproduct of the Rust backend via
wasm-packinstead.Tasks
compiler/src/generators/wasm.tscompiler/src/runtime/wasm-host.tscompiler/src/index.tsExit Criteria
No WASM/WAT generator code remains.
speckl compilehas no--target=wasmoption. No broken imports.Dependencies
None — can start now. Independent of #18.
Context
Part of M0.1 cleanup. WASM target is superseded by the planned IR→Rust→WASM path (M2.1).
✅ Completed. WAT/WASM generator removed in commit
00dd745on branchfix/remove-wat-generator. All 37 tests passing. WASM will be a byproduct of the Rust backend via wasm-pack instead (see M2.1 in docs/PROVE-KAFKA-PLAN.md).