Go to file
2023-08-15 15:07:39 +00:00
bindings refactor: use C for the external scanner (#16) 2023-06-18 16:44:07 +02:00
corpus fix: stop excluding single quote (') in unquoted arguments 2023-08-15 15:05:51 +00:00
src fix: stop excluding single quote (') in unquoted arguments 2023-08-15 15:05:51 +00: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 refactor: use C for the external scanner (#16) 2023-06-18 16:44:07 +02:00
Cargo.toml chore(release): v0.4.1 2023-08-15 15:07:39 +00:00
grammar.js fix: stop excluding single quote (') in unquoted arguments 2023-08-15 15:05:51 +00:00
LICENSE Add license 2021-06-04 15:53:41 +02:00
package.json chore(release): v0.4.1 2023-08-15 15:07:39 +00:00
README.rst chore: release 0.1.0 2022-07-08 12:16:35 +07: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 refences

  - Environment and cache variables
  - Normal variables

- Generator expression