{"library":"tree-sitter-cpp","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"0.23.4","tags":["parsing","tree-sitter","cpp","grammar","syntax-tree","code-analysis"],"last_verified":"Fri May 22","install":[{"cmd":"pip install tree-sitter-cpp tree-sitter","imports":["from tree_sitter import Language, Parser","import tree_sitter_cpp as ts_cpp\ncpp_language = Language(ts_cpp.language())"]}],"homepage":null,"github":"https://github.com/tree-sitter/tree-sitter-cpp","docs":null,"changelog":null,"pypi":"https://pypi.org/project/tree-sitter-cpp/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/tree-sitter-cpp/compatibility"}}