Languages
rgBuilder indexes source through language plugins. Tier metadata: languages.toml.
Contributors adding a language: tier-1-language-support.md.
Tiers
| Tier | Handler | Indexing | CFG / PDG / taint |
|---|---|---|---|
| Tier 1 | Custom LanguagePlugin | Rich symbols + Calls | Full when --with-cfg / taint enabled |
| Tier 2 | Generic tree-sitter | From LanguageConfig | Limited |
| Tier 3 | Regex | Pattern symbols | None |
Tier 1 (always in the release binary)
| Language | Extensions | Notes |
|---|---|---|
| Java | .java | Strong golden coverage |
| Go | .go | |
| Rust | .rs | |
| Python | .py, .pyw | |
| JavaScript | .js, .jsx, .mjs | |
| TypeScript | .ts, .tsx | |
| C# | .cs | |
| C | .c, .h | |
| C++ | .cpp, .cc, .cxx, .hpp, … |
rg-build discover . -l java,go,rust
rg-build discover . -e node_modules,target,.git
Config/markup plugins (JSON, YAML, TOML, Markdown, CI, …) add structure nodes; they do not run CFG/PDG. See crates/rgbuilder-config-formats.
Discover depth
| Flags | Use |
|---|---|
| (default) | Fast graph + metrics |
--with-security | Secret scanning on config-like files |
--with-cfg | CFG/PDG for slice/inspect/cpg (slower on huge repos) |
--with-taint | Discover-time taint (with CFG) |
--export-migration-hints | Migration plan JSON |
--with-dashboard | Optional static UI assets |
CLI tips
- GQL / blast-radius use indexed node names (often bare method names in Java).
inspect SYMBOLis a function symbol only (no--class).blast-radiussupports--class/--fileon collisions.slice --functionis the method/function name, not the class.
See User Guide §4.