Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 13 days ago
JSON representation

A Tree-sitter parser for CMake

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