aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2025-07-22 23:15:26 -0400
committerelioat <elioat@tilde.institute>2025-07-22 23:15:26 -0400
commitdb07d86ffd2e15a1bebec17a52a554294b888e2a (patch)
treebaec7fe2d4c9a43bea0151f625c40710a1ff24ba
parent9233e0c6a123dac2cda7ca73ce6790e9431f1e56 (diff)
downloadtour-db07d86ffd2e15a1bebec17a52a554294b888e2a.tar.gz
*
-rw-r--r--awk/scheme/scheme/README.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/awk/scheme/scheme/README.md b/awk/scheme/scheme/README.md
index cf346c7..0b925f4 100644
--- a/awk/scheme/scheme/README.md
+++ b/awk/scheme/scheme/README.md
@@ -100,6 +100,8 @@ Test categories:
- **Examples**: Demonstration programs
- **Regression tests**: Edge cases
+*Note: The test suite is comprehensive, but some advanced closure/currying and edge-case features are still being debugged. See Known Issues below.*
+
## Debugging
### Enable Debug Mode
@@ -109,6 +111,11 @@ DEBUG=1 ./scheme program.scm # File with debug
echo "(+ 1 2)" | DEBUG=1 ./scheme # Single expression
```
+**S-expression Debugging:**
+```bash
+DEBUG_SEXPR=1 ./scheme program.scm # Enable detailed S-expression parsing/codegen debug output
+```
+
### Debug Output Shows
- Token parsing and expression tree construction
- VM instruction generation
@@ -218,4 +225,8 @@ echo "5 3 + ." | awk -f forth.awk # => Result: N:8
- `bin/vm.awk` - Virtual machine implementation
- `bin/repl` - Interactive REPL
- `test/` - Comprehensive test suite
-- `scratch/forth/` - Forth implementation for VM validation \ No newline at end of file
+- `scratch/forth/` - Forth implementation for VM validation
+
+## Known Issues
+
+- Some advanced closure/currying and higher-order function tests are still failing and are under active investigation. See WHAT-NEEDS-FIXING.md for current status and debugging plan.