{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic/3"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides a tree-sitter grammar for parsing CMake code, enabling incremental syntax analysis of CMake files in Python applications.","skillfed_tags":["parsing","cmake","build-tools"],"use_cases":["Build system analysis: extract and inspect CMake project structure, dependencies, and compiler flags","CMake linting or validation: traverse the syntax tree to enforce coding standards or detect errors","Code generation: programmatically modify or generate CMake files by manipulating the parsed tree","Documentation extraction: parse CMake files to auto-generate build documentation or dependency graphs","IDE integration: provide syntax highlighting, code completion, or error reporting for CMake editors"],"what_it_does":"tree-sitter-cmake is a Python binding for a tree-sitter grammar that parses CMake code into a syntax tree. It wraps the grammar from the uyha/tree-sitter-cmake repository and exposes it through a simple Python API. You supply CMake source code as bytes, initialize a tree-sitter Parser with the CMake language, and receive back a traversable syntax tree representing commands, arguments, variables, and comments.\n\nThe package is designed for developers who need to analyze, transform, or validate CMake files programmatically. It supports general commands, flow control (if, while, foreach), functions, macros, quoted and bracket arguments, variable references, and both line and bracket comments.","worth_installing":"Yes, if you need to parse or analyze CMake code programmatically in Python. The package is actively maintained, permissively licensed, and has no known vulnerabilities. Medium install friction is typical for tree-sitter bindings. Requires Python >= 3.10 and tree-sitter ~= 0.24."},"id":"tree-sitter-cmake","links":{"html":"https://skillfed.io/packages/tree-sitter-cmake","md":"https://skillfed.io/packages/tree-sitter-cmake.md","pypi":"https://pypi.org/project/tree-sitter-cmake/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-11-24","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-cmake","python_support":"supports_current","summary":"CMake grammar for tree-sitter"},"popularity":{"monthly_downloads":74361,"position":14847,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.7.2.post1"}
