You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Record program-level HIR/MIR, module namespaces, and per-module codegen/mangling.
Clarify core placement in sysroot and multi-module run-pass fixtures.
Copy file name to clipboardExpand all lines: implementation_plans/STAGE3.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,9 @@ Enable nominal user-defined types and enforce Wyrm’s ownership model end-to-en
46
46
## 1. Fixed inputs and prerequisites (do not reopen)
47
47
48
48
- Stage 2 module system and static imports are in place.
49
+
- HIR/MIR are program-level (`hir::Program`, `mir::Program`) with cross-module export tables; Stage 3 should extend these rather than reintroducing per-module-only flows.
50
+
- Module-level `let` bindings are const-only and require explicit types (Stage 2 decision); Stage 3 should not assume runtime module init via top-level code.
51
+
- Module namespaces and module-qualified path resolution are already implemented (imported modules bind namespaces; exports resolve via module paths).
49
52
- Explicit `self` parameter in methods is required (WYRM §3.6).
50
53
- Surface syntax does **not** expose `&` / `&mut` (ADR-0001).
51
54
- Memory model uses ARC for shared ownership and deterministic drops.
@@ -67,6 +70,7 @@ Enable nominal user-defined types and enforce Wyrm’s ownership model end-to-en
0 commit comments