https://github.com/uyha/tree-sitter-cmake
A Tree-sitter parser for CMake
https://github.com/uyha/tree-sitter-cmake
cmake tree-sitter
Last synced: 8 days ago
JSON representation
A Tree-sitter parser for CMake
- Host: GitHub
- URL: https://github.com/uyha/tree-sitter-cmake
- Owner: uyha
- License: mit
- Created: 2021-04-06T20:50:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-04-07T23:31:39.000Z (15 days ago)
- Last Synced: 2025-04-14T02:58:19.639Z (9 days ago)
- Topics: cmake, tree-sitter
- Language: Tree-sitter Query
- Homepage:
- Size: 1.04 MB
- Stars: 44
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
==============================
A Tree-sitter parser for CMake
==============================This project provides a `cmake` parser. Its primary use case is to provide a `cmake`
parser for `nvim-treesitter`.Parsed syntax
=============- Command
- General commands
- For and while loops
- If conditions
- Functions and macros- Arguments
- Quoted arguments
- Bracket arguments
- Unquoted arguments
- Parentheses- Variable references
- Environment and cache variables
- Normal variables