Files
hakorune/apps/selfhost
Selfhosting Dev 39f27a348a Phase 15: using system BOX parser problem completely resolved
 Major breakthroughs in using system stability:
- Fixed using system brace balance issue with NYASH_RESOLVE_FIX_BRACES=1
- Confirmed ChatGPT's JSON processing unification approach is correct
- Added comprehensive trace debugging for collect_prints method
- Identified collect_prints abnormal termination issue (method executes normally but return trace missing)

🔧 Technical improvements:
- Enhanced trace logging with method entry, loop exit, break conditions
- Documented using system file integration mechanism
- Validated echo/itoa processing works correctly with empty arguments

🎯 Phase 15 progress:
- Main using system parser errors:  RESOLVED
- collect_prints processing:  Functional (echo/itoa working)
- Remaining: investigate return value handling anomaly

Next: Codex investigation of collect_prints return behavior

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-23 04:10:00 +09:00
..

SelfHosting Apps (Nyonly)

Purpose

  • Keep selfhosting Ny scripts isolated from general apps/ noise.
  • Enable fast inner loop without touching Rust unless necessary.

Conventions

  • Entry scripts live under this folder; prefer minimal dependencies.
  • Use --using-path apps/selfhost:apps when resolving modules.
  • Prefer VM (--backend vm) for speed and stability.

Quickstart

  • Run minimal sample: make dev (uses apps/selfhost-minimal/main.nyash)
  • Watch changes: make dev-watch
  • Run parser Ny project: ./tools/dev_selfhost_loop.sh --std -v --backend vm -- apps/selfhost/ny-parser-nyash/main.nyash

Guidelines

  • Keep files small and composable; avoid crossproject coupling.
  • If moving an existing apps/* item here, update docs/scripts accordingly.
  • For namespace usage, pass --using-path apps/selfhost:apps.