compiler-API: resume scaffolding for a fresh session
Add the COMPILER-API stream to CLAUDE.md's session-start router and a `## ⏯ Resume` block to CHECKPOINT-COMPILER-API.md (next action = sub-step 2.2, read order, build/verify, and the cross-arch snapshot-regen gotcha).
This commit is contained in:
12
CLAUDE.md
12
CLAUDE.md
@@ -339,21 +339,27 @@ Five active workstreams run in parallel — **IR** (the language compiler),
|
||||
overhaul, mem.sx + protocol expansion), **LANG** (user-facing language
|
||||
features — diagnostics renderer, heterogeneous variadic packs), and
|
||||
**ERR** (error handling: separate-channel `!` errors, `try` / `catch` /
|
||||
`or` / `onfail`, return traces). They touch mostly disjoint files;
|
||||
any can be advanced independently.
|
||||
`or` / `onfail`, return traces), and **COMPILER-API** (the comptime `compiler`
|
||||
library — `#library "compiler"` + `abi(.zig) extern compiler`; welded compiler
|
||||
types/functions that supersede the metatype `declare`/`define` `#builtin`s and
|
||||
the `#compiler` attribute). They touch mostly disjoint files; any can be
|
||||
advanced independently.
|
||||
|
||||
1. Read all five checkpoints to see where each stream is paused:
|
||||
1. Read all checkpoints to see where each stream is paused:
|
||||
- `current/CHECKPOINT.md` — IR progress tracker.
|
||||
- `current/CHECKPOINT-FFI.md` — FFI progress tracker.
|
||||
- `current/CHECKPOINT-MEM.md` — MEM progress tracker + issues log.
|
||||
- `current/CHECKPOINT-LANG.md` — LANG progress tracker.
|
||||
- `current/CHECKPOINT-ERR.md` — ERR progress tracker.
|
||||
- `current/CHECKPOINT-COMPILER-API.md` — COMPILER-API progress tracker
|
||||
(has a `## ⏯ Resume` block; currently mid-Phase 2 on branch `reify`).
|
||||
2. Read the plan that corresponds to the stream the user wants to advance:
|
||||
- `current/PLAN.md` — IR implementation plan.
|
||||
- `current/PLAN-FFI.md` — FFI ceremony reduction plan.
|
||||
- `~/.claude/plans/tidy-doodling-cray.md` — MEM (mem.sx) implementation plan.
|
||||
- `current/PLAN-LANG.md` — LANG implementation plan.
|
||||
- `current/PLAN-ERR.md` — ERR implementation plan.
|
||||
- `design/comptime-compiler-api.md` — COMPILER-API design-of-record + build order.
|
||||
3. Read `specs.md` if you need to understand language behavior.
|
||||
4. Pick up from the next incomplete step in the relevant `CHECKPOINT*.md`.
|
||||
If the user hasn't said which stream to work on, ask before picking.
|
||||
|
||||
Reference in New Issue
Block a user