Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e034128

Browse files
committed
feat: add C++ parser — supports classes, structs, namespaces, templates, enums
Closes #1 (C++ files not being parsed). Adds tree-sitter-cpp grammar, Language::Cpp variant with extensions .cpp/.cc/.cxx/.h/.hpp/.hxx/.hh, and CppParser extracting functions, classes, structs, namespaces, enums, templates, and #include directives. Bumps to v0.2.5.
1 parent 5b0d419 commit e034128

10 files changed

Lines changed: 545 additions & 13 deletions

File tree

Cargo.lock

Lines changed: 15 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ members = [
99
exclude = ["npm/wasm"]
1010

1111
[workspace.package]
12-
version = "0.2.4"
12+
version = "0.2.5"
1313
edition = "2021"
1414
license = "MIT"
1515
repository = "https://github.com/agentralabs/agentic-codebase"
@@ -19,7 +19,7 @@ authors = ["Agentra Labs <[email protected]>"]
1919
[package]
2020
default-run = "acb"
2121
name = "agentic-codebase"
22-
version = "0.2.4"
22+
version = "0.2.5"
2323
edition = "2021"
2424
license = "MIT"
2525
repository = "https://github.com/agentralabs/agentic-codebase"
@@ -55,6 +55,7 @@ tree-sitter-rust = "0.21"
5555
tree-sitter-typescript = "0.21"
5656
tree-sitter-javascript = "0.21"
5757
tree-sitter-go = "0.21"
58+
tree-sitter-cpp = "0.21"
5859

5960
# Compression
6061
lz4_flex = "0.11"

crates/agentic-codebase-cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "agentic-codebase-cli"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
edition = "2021"
55
license = "MIT"
66
repository = "https://github.com/agentralabs/agentic-codebase"
@@ -15,6 +15,6 @@ name = "acb"
1515
path = "src/main.rs"
1616

1717
[dependencies]
18-
agentic-codebase = { path = "../..", version = "0.2.4" }
18+
agentic-codebase = { path = "../..", version = "0.2.5" }
1919
clap = { version = "4", features = ["derive"] }
2020
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

crates/agentic-codebase-ffi/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "agentic-codebase-ffi"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
edition = "2021"
55
license = "MIT"
66
repository = "https://github.com/agentralabs/agentic-codebase"
@@ -14,7 +14,7 @@ categories = ["api-bindings"]
1414
crate-type = ["cdylib", "rlib"]
1515

1616
[dependencies]
17-
agentic-codebase = { path = "../..", version = "0.2.4" }
17+
agentic-codebase = { path = "../..", version = "0.2.5" }
1818
pyo3 = { version = "0.20", features = ["extension-module"], optional = true }
1919
wasm-bindgen = { version = "0.2", optional = true }
2020
serde-wasm-bindgen = { version = "0.6", optional = true }

crates/agentic-codebase-mcp/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "agentic-codebase-mcp"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
edition = "2021"
55
license = "MIT"
66
repository = "https://github.com/agentralabs/agentic-codebase"
@@ -15,7 +15,7 @@ name = "agentic-codebase-mcp"
1515
path = "src/main.rs"
1616

1717
[dependencies]
18-
agentic-codebase = { path = "../..", version = "0.2.4", features = ["stdio"] }
18+
agentic-codebase = { path = "../..", version = "0.2.5", features = ["stdio"] }
1919
clap = { version = "4", features = ["derive"] }
2020
sha2 = "0.10"
2121
walkdir = "2"

0 commit comments

Comments
 (0)