main: expand the repl's capabilities to include debug + all syntactic positions

This commit is contained in:
2026-01-03 22:03:10 -05:00
parent e199e15804
commit 4d92954a5f
2 changed files with 119 additions and 108 deletions

View File

@@ -1,9 +1,12 @@
#!/usr/bin/env bash
export DOUGHLANG_VERBOSE="${DOUGHLANG_VERBOSE:-0}"
export DO_VERBOSE="${DO_VERBOSE:-0}"
export DO_PARSING="${DO_PARSING:-expr}"
cargo build --release
for file in $(find "$@" -type f); do
echo $file;
cat $file | cargo run -q $CARGO_FLAGS;
cat $file | cargo run --release -q $CARGO_FLAGS;
echo;
done