Repository navigation
calls: shell one-line functions, tcl one-line brace bodies, scheme lambda formals (Part of #5640) - #5812
Conversation
…mbda formals (Part of #5640) WIP: golden masters not yet blessed. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…cheme lambda formals (Part of #5640) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5812 @ 631d2e2: 1 failed check(s) == Call resolution (Level 2, vs pyan3) (failure) -- real |
…(Part of #5619) scripts/local_demo.sh functions 10 -> 12, scripts/run_with_server.sh 1 -> 2 (summary.functions 540 -> 543); the engine change is #5812, merged into this branch from main. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ed clones (Part of #5619) (#5813) * doom-rosetta.yml: LOC-sharded zero-drift check, Universal Ctags, cached clones (Part of #5619) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * doom-rosetta.yml: draft gate on shard job, tree-sitter installed for the functions oracle, apt pin entry (Part of #5619) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless sqldoom for shell one-line functions from #5812 (Part of #5619) scripts/local_demo.sh functions 10 -> 12, scripts/run_with_server.sh 1 -> 2 (summary.functions 540 -> 543); the engine change is #5812, merged into this branch from main. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Part of #5640. Follow-up to #5806.
What
The shapes #5806 left open, probed first (before/after in the unit tests):
name() { cmd; }/function name { cmd; }was not a unit at all (opener and closer cancel to net 0 in Mode D), so its calls landed in__global_context__._slice_by_keywordsnow emits a one-line satellite for it (shell only, same reserved-word exclusion asfunc_start).catch {qux},after 10 {zed},if {$a} {foo},try {..} finally {..},eval {..}are command position (lookbehinds, because the line-start branch already consumescatch).set l {a b}/puts {x}stay non-calls.(lambda (y) ...)/(named-lambda (f y) ...)no longer ready/fas a call (scheme-only pattern; the shared lisp family is untouched).../not: already works, pinned by tcl: a [cmd ...] command substitution is a call (Part of #5640) #5806's test; nothing to change.Class table (call-extraction small shapes)
[cmd], after}../notletbinding lists((x 1))readxas a calldocs/calls_out_rule_contract.md)foreach x $l {foo}/switcharm bodies /namespace eval ns {foo}one-linersfoo &/time foo/exec foocommand wordsGolden
Blessed via
golden-lock.sh crucible_check.py --update --yes, both fixtures; diffs are call-graph only (calls_out_to, fan_in/out, pagerank, graph/llm snapshots). Spot-checked: racketio.ssloseswho(a(lambda (who p)formal) frombinary-file-port-flushetc.; other rows are last-digit PageRank moves from the repo-wide graph.Gates
pr_gates --fast7/7,--ratchets8/8 (ports, fact-crosscheck, ground-truth, completeness included), tree-wide guards 184 passed, shell/scheme/tcl strict suites 470 passed.Cross-repo: none.
Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code