docs(current_task): prepend quick self-host plan (dep-tree + bridge) for restart context

This commit is contained in:
Selfhosting Dev
2025-09-08 02:15:33 +09:00
parent f8beebc456
commit 29e2973a72

View File

@ -1,3 +1,20 @@
# Quick Plan — SelfHost (Restart Safe)
- Goals: Ny-only dependency tree (include → later using/module), JSON out; simple file-bridge to existing MIR→VM→AOT without tight coupling.
- Deliverables:
- Minimal tool: `apps/selfhost/tools/dep_tree_min_string.nyash` (include-only, recursion via FileBox/PathBox, no Array/Map)
- Full tool: `apps/selfhost/tools/dep_tree_simple.nyash` (include + using/module, strict/explicit resolution)
- Task/Make: `nyash.toml [tasks].dep_tree` and `make dep-tree` (outputs `tmp/deps.json`)
- Bridge Stage 1: Runner reads `NYASH_DEPS_JSON=<path>` and logs (no behavior change)
- Order:
1) Finish include-only tool to completion (Ny-only, strict 1statement lines)
2) Harden full tool (using/module, module > relative > using-path, ambiguous=error, STRICT gate)
3) Add Runner hook for `NYASH_DEPS_JSON` (log only)
- Quick run:
- `make dep-tree` → writes `tmp/deps.json`
- `./target/release/nyash --run-task dep_tree`
# CURRENT TASK (Compact) — Phase 15 / Self-HostingNy→MIR→MIR-Interp→VM 先行)
【Quick Update — 20250907 Egui AOT/JIT 状況と次アクション】