Files
rose-ash/lib/tcl/test.sh
giles eb5babaf99
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 48s
tcl: proc + uplevel + upvar + global + variable + info (+19 tests, 225 total)
Phase 3 headline feature: everything falls out of SX's first-class env chain.
- make-tcl-interp extended with :frame-stack and :procs fields
- proc: user-defined commands with param binding, rest args, isolated scope
- uplevel: run script in ancestor frame with correct frame propagation
- upvar: alias local name to remote frame variable (get/set follow alias)
- global/variable: sugar for upvar #0
- info: level, vars, locals, globals, commands, procs, args, body
- tcl-call-proc propagates updated frames back to caller after proc returns
- test.sh timeout bumped to 90s for larger runtime

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 09:30:28 +00:00

2.4 KiB
Executable File