Updated documentation to reflect actual implementation status: - docs/reference/language/repl.md: Corrected examples (variable persistence TODO) - docs/development/current/main/10-Now.md: Phase 288 completion noted - docs/development/current/main/30-Backlog.md: Updated with Phase 288.1 tasks - docs/development/current/main/phases/phase-288/: Added phase documentation Accurate REPL behavior examples: - x = 1 works (implicit local) - print(x) errors (persistence in Phase 288.1) - Expression auto-display deferred 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Phase 288: REPL mode (design-first, file-mode unaffected)
Status: ✅ P0–P3 complete (2025-12-25) / ⏳ 288.1 next
Goal: Add an interactive REPL for Nyash while keeping file mode semantics unchanged and keeping the language SSOT stable.
SSOT:
- REPL spec:
docs/reference/language/repl.md
Scope
- CLI entry:
hakorune --repl/-i - REPL commands:
.help,.exit/.quit,.reset - Fail-Fast: undefined reads are errors
- File mode: no behavior changes (quick smokes remain green)
Completed (P0–P3)
- P0: SSOT doc established/updated (
docs/reference/language/repl.md) - P1: CLI entry point (
--repl/-i) - P2: REPL session state isolated (Box-first; runtime-value based)
- P3: Minimal UX and docs polish
Next (Phase 288.1)
The MVP intentionally deferred these:
- Session variable persistence across lines (bridge session → compilation/runtime)
- Expression auto-display +
_last-value binding - Multi-line input handling (continuations)
Entry: docs/development/current/main/phases/phase-288/P1-INSTRUCTIONS.md