Commit graph

4 commits

Author SHA1 Message Date
trvon
e03fa40ccc
fix(c): parse .c files with the C grammar
`.c` files were parsed with tree-sitter-cpp, so valid C that uses C++
keywords as identifiers (`int delete = 0; int new = 1;`, a parameter
named `class`) produced grammar-error diagnostics and lost symbols.

`.c` files now parse with tree-sitter-c (pinned =0.24.2, backend
`c:0.24.2`) while staying on the shared C/C++ extraction path, so C
sources and the headers they include still share one include/declaration
index. Headers (`.h`) keep the C++ grammar, which parses the C subset.

Test: cpp_xtu::c_sources_parse_with_the_c_grammar fails before this
change (grammar errors in util.c).
2026-09-24 20:14:21 -06:00
trvon
3fec92f10c
feat: make source graphs accurate across C++ JS TS Dart and Rust
Some checks failed
build / build-linux (push) Successful in 1m3s
build / build-macos (push) Has been cancelled
build / release (push) Has been cancelled
Use pinned grammar frontends and scoped heuristic resolution to recover declarations and prevent false dependencies. Constrain filesystem traversal and normalize Fold root aliases.

Add exact multilingual fixtures, seventeen regression tests, and a three-repeat benchmark to the quality gate.
2026-09-04 23:05:06 -06:00
trvon
992f101316
feat: add evidence-aware architecture analysis 2026-09-01 18:18:30 -06:00
trvon
99c1790464
chore: initial import of brick (evidence-aware code structure visualization) 2026-08-30 09:17:34 -06:00