selfhost/tools: add dep_tree_simple.nyash (single-box functional) and run dep_tree.sh with interpreter + plugin builtins; groundwork for include+using/module JSON deps

This commit is contained in:
Selfhosting Dev
2025-09-07 20:59:18 +09:00
parent caf0e922ef
commit 1069f558a5
2 changed files with 233 additions and 2 deletions

View File

@ -3,6 +3,6 @@ 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 \
NYASH_DISABLE_PLUGINS=0 NYASH_CLI_VERBOSE=0 NYASH_USE_PLUGIN_BUILTINS=1 \
"$ROOT_DIR/target/release/nyash" --backend interpreter \
"$ROOT_DIR/apps/selfhost/tools/dep_tree_main.nyash" <<<"$ENTRY"