Architecture Decision Records
This directory captures the foundational architectural decisions behind js2wasm. Each record documents a decision that has already been made, the context in which it was made, and the consequences of that choice. ADRs are not design documents — they are retrospective records intended to make the design auditable for external contributors and reviewers.
The format follows Michael Nygard's 2011 ADR template: Context, Decision, Consequences. Records are short by design (200–400 words).
Index
¹ ADR-012's high-level-IR / lowered-IR split is superseded in practice by ADR-018 (one structured IR, optimized in place); its other content still holds.
Reading order
For a first read, ADR-002 (architectural approach) and ADR-001 (hybrid compilation strategy) frame everything else. The remaining records are sub-decisions within that frame and can be read in any order.