Go to file
Uy Ha b766bd4896 fix: regenerate files for updated name
Co-authored-by: ShootingStarDragons <ShootingStarDragons@protonmail.com>
2022-07-04 12:42:23 +07:00
bindings fix: regenerate files for updated name 2022-07-04 12:42:23 +07:00
corpus Fix bug regarding dollar sign but not variable reference 2022-01-26 22:53:15 +01:00
src chore: update dependencies and regenerate parser.c 2022-07-04 12:01:24 +07:00
.gitignore Ignore build directory 2022-01-26 19:41:33 +01:00
.prettierrc.toml Increase width 2021-06-16 21:36:50 +02:00
binding.gyp Unignore files 2021-04-10 16:29:19 +02:00
Cargo.toml fix: regenerate files for updated name 2022-07-04 12:42:23 +07:00
grammar.js Fix bug regarding dollar sign but not variable reference 2022-01-26 22:53:15 +01:00
LICENSE Add license 2021-06-04 15:53:41 +02:00
package.json chore: update dependencies and regenerate parser.c 2022-07-04 12:01:24 +07:00
README.rst Update REAMDE 2021-07-02 10:09:58 +02: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

TODO
====

- Generator expression