Skip to content

Add compiled-language extraction coverage#56

Merged
janrito merged 1 commit into
mainfrom
compiled-languages
Jul 12, 2026
Merged

Add compiled-language extraction coverage#56
janrito merged 1 commit into
mainfrom
compiled-languages

Conversation

@janrito

@janrito janrito commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Close construct-coverage gaps for c, cpp, java, rust, and go, and add SQL
dialect fixtures.

The per-language capture sets grew organically and were never audited, so
definition-like constructs were invisible to search, navigation, and edges —
Rust trait, Java interface/enum/record, C union, C++ namespace and
in-class methods. This is the systematic pass for the five compiled languages:
each gets its expanded query, extraction cases, inline tests, and a sample
project whose snapshot exercises the new constructs.

It also adds the five SQL dialect fixtures (postgres, mysql, sqlite, duckdb,
clickhouse). rbtr uses one generic tree-sitter-sql grammar rather than
routing .sql files to per-dialect grammars — routing is unreliable because a
file carries no dialect marker, and the generic grammar recovers locally past
constructs it doesn't know. The fixtures document what that grammar extracts
per dialect, and each carries a strict-xfail parse-clean canary that will flip
if an upstream grammar bump starts parsing a dialect fully.


Stacked PRs (merge bottom → top): #54 · #55 · #56 · #57 · #58 · #59 · #60

Expand c, cpp, java, rust, and go to full query coverage with
extraction cases, inline tests, and sample projects. Add SQL dialect
fixtures (postgres, mysql, sqlite, duckdb, clickhouse) documenting how
the single generic grammar parses each.
Base automatically changed from config-formats to main July 12, 2026 22:07
@janrito janrito merged commit 5c49aac into main Jul 12, 2026
1 check passed
@janrito janrito deleted the compiled-languages branch July 12, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant