tcl: Phase 6 — namespace, list ops, dict additions, scan/format, exec [WIP]
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 50s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 50s
Phase 6a (namespace `::` prefix): - tcl-global-ref?/strip-global helpers - tcl-var-get/set route ::name to root frame - tokenizer parse-var-sub accepts `::` start so $::var works - tcl-call-proc forwards :fileevents/:timers/:procs/:commands - char-at fast-path optimization on var-get/set hot path Phase 6b (list ops): added lassign, lrepeat, lset, lmap. Phase 6c (dict additions): added dict lappend, remove, filter -key. Phase 6d (scan/format): - printf-spec SX primitive wrapping OCaml Printf via Scanf.format_from_string - scan-spec SX primitive (manual scanner for d/i/u/x/X/o/c/s/f/e/g) - Tcl format dispatches via printf-spec; tcl-cmd-scan walks fmt and dispatches Phase 6e (exec): - exec-process SX primitive wraps Unix.create_process + waitpid - Tcl `exec cmd arg...` returns trimmed stdout; raises on non-zero exit test.sh inner timeout 3600s → 7200s (post-merge JIT recursion is slow). +27 idiom tests covering ns, list ops, dict, format, scan, exec. [WIP — full suite verification still pending] Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -57,7 +57,7 @@ cat > "$TMPFILE" << EPOCHS
|
||||
(eval "tcl-test-summary")
|
||||
EPOCHS
|
||||
|
||||
OUTPUT=$(timeout 2400 "$SX_SERVER" < "$TMPFILE" 2>&1)
|
||||
OUTPUT=$(timeout 7200 "$SX_SERVER" < "$TMPFILE" 2>&1)
|
||||
[ "$VERBOSE" = "-v" ] && echo "$OUTPUT"
|
||||
|
||||
# Extract summary line from epoch 11 output
|
||||
|
||||
Reference in New Issue
Block a user