Go to file
2024-10-14 03:37:52 +03:00
bindings chore: update rust bindings (#27) 2024-06-20 12:32:15 +07:00
src chore: generate with tree-sitter 0.24.2 2024-10-07 08:54:29 +00:00
test/corpus chore: remove tests for generator expression 2024-10-07 08:54:04 +00:00
.editorconfig chore: update tree_sitter to new one (#24) 2024-03-17 19:23:49 +02:00
.gitattributes chore: update tree_sitter to new one (#24) 2024-03-17 19:23:49 +02:00
.gitignore refactor: remove empty line 2022-12-03 13:09:00 +01:00
.prettierrc.toml Increase width 2021-06-16 21:36:50 +02:00
binding.gyp chore: add scanner.c to the bindings 2024-06-05 08:42:21 +00:00
Cargo.toml chore(release): v0.5.0 2024-06-05 08:42:43 +00:00
grammar.js fix: generate with strict mode (#30) 2024-10-14 03:37:52 +03:00
LICENSE Add license 2021-06-04 15:53:41 +02:00
Makefile chore(release): v0.5.0 2024-06-05 08:42:43 +00:00
package.json chore: generate with tree-sitter 0.24.2 2024-10-07 08:54:29 +00:00
Package.swift chore: add scanner.c to the bindings 2024-06-05 08:42:21 +00:00
pyproject.toml chore(release): v0.5.0 2024-06-05 08:42:43 +00:00
README.rst doc: update README 2024-06-05 08:48:32 +00:00
setup.py chore: add scanner.c to the bindings 2024-06-05 08:42:21 +00:00
tree-sitter.json chore: generate with tree-sitter 0.24.2 2024-10-07 08:54:29 +00:00

==============================
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