From db07d86ffd2e15a1bebec17a52a554294b888e2a Mon Sep 17 00:00:00 2001 From: elioat Date: Tue, 22 Jul 2025 23:15:26 -0400 Subject: * --- awk/scheme/scheme/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'awk/scheme') 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. -- cgit