C++ Grammar for Tree-sitter

JSON →
library 0.23.4 ·python
verified May 22, 2026

tree-sitter-cpp provides the C++ grammar for the Tree-sitter parsing library. It enables Python applications to parse C++ code, build abstract syntax trees (ASTs), and perform code analysis tasks like syntax highlighting, linting, and refactoring. The library is actively maintained with frequent minor updates (as seen in its v0.23.x releases), and it requires the core `tree-sitter` Python package to function.

total hits 15
actors 6 distinct systems
last hit 4d ago AhrefsBot
GPTBot
6
Script
2
ChatGPT-User
1
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France