selfhosting: move ny-parser-nyash into apps/selfhost/, add Ny-only dev loop and initial dep tree tools; add docs plan; make dev/dev-watch

This commit is contained in:
Selfhosting Dev
2025-09-07 20:23:39 +09:00
parent 1bb2d2db5b
commit caf0e922ef
13 changed files with 433 additions and 4 deletions

8
tools/dep_tree.sh Normal file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
ENTRY=${1:-apps/selfhost/ny-parser-nyash/main.nyash}
NYASH_DISABLE_PLUGINS=0 NYASH_CLI_VERBOSE=0 \
"$ROOT_DIR/target/release/nyash" --backend vm \
"$ROOT_DIR/apps/selfhost/tools/dep_tree_main.nyash" <<<"$ENTRY"