Repository navigation
feat(graph): add OCaml tags.scm — call edges for the breadth tier - #200
Frankie-Xu wants to merge 5 commits into
Conversation
🌱 graft blast radiusNothing outside this diff depends on it. 1 area changed; no indexed dependents at depth 2. Who knows this code — 1 person across 1 area
Ownership is git history over each area's own files, weighted towards recent work (120-day half-life). Merge commits and bots are dropped, and you are dropped from your own PR. A name with no Test signal per changed area — 1 ✗Reached = a node under a test path has a resolved edge into the changed symbol. It undercounts anything called indirectly — through a CLI, a spawned process or a dynamic import — so read a low ratio as “look here”, never as a coverage gate.
Open the interactive graph → — click an area to see its dependent symbols at file:line. |
…ailhq#197) Co-authored-by: Cursor <[email protected]>
The tracking issue is trailhq#198; the previous commit message still names trailhq#197. Co-authored-by: Cursor <[email protected]>
3793af1 to
6b85733
Compare
|
Rebased onto current main. Kept the existing PHP wasm / throwing-grammar tests and layered the OCaml tags.scm fixture on top. Waiting on CI before marking ready. |
|
Rebased onto current main. CI is green. Ready for review. |
- generic-extract.test.ts: the union merge of trailhq#196, trailhq#200 and trailhq#201 spliced their appended tests into one another and left the file unterminated. Rebuilt as trailhq#196's file plus trailhq#200's and trailhq#201's appended blocks verbatim. - The trailhq#139 test asserted that a cached parse failure is replayed without a re-parse; trailhq#317 (fixes trailhq#312) deliberately re-parses it instead and did not update the test. It now asserts the re-parse and that the error still comes back. - The trailhq#319 symlink test (trailhq#328) needed symlink privilege on Windows. Directory links are junctions there, as test/graph-root and test/ingest-fs already do, and the file-link case is skipped with a diagnostic when it cannot be created. Co-Authored-By: Claude Opus 5 <[email protected]>
Summary
Add OCaml breadth-tier tags for parameterized
let/let rec,fun/functionbindings, modules, types, and application calls. Individual binding scopes preserve mutually recursive functions and grouped types/modules, so later symbols and their call owners are retained.Fixes #197.
Validation
main(fe30ead39d5e6f0c921018d364da2bdbc9d4b3ad) preserves current language registry and existing tests.Scope
Bare value bindings and infix operators (
|>,@@, etc.) remain outside this query. This uses the bundled OCaml implementation grammar; it adds no separate interface grammar or receiver typing.