Go to file
2021-06-07 23:29:15 +02:00
bindings Unignore files 2021-04-10 16:29:19 +02:00
corpus Final have foreach working 2021-06-07 23:02:35 +02:00
corpus.tmp Start fresh with foreach 2021-06-06 15:44:05 +02:00
queries [WIP] Start extracting overloaded foreach commands 2021-06-06 13:46:48 +02:00
src Regenerate grammar.json 2021-06-07 23:29:15 +02:00
.gitignore Clean up project 2021-05-05 20:31:08 +02:00
.prettierrc.toml Shorten prettier line width 2021-06-04 14:14:27 +02:00
binding.gyp Unignore files 2021-04-10 16:29:19 +02:00
Cargo.toml Unignore files 2021-04-10 16:29:19 +02:00
grammar.js Final have foreach working 2021-06-07 23:02:35 +02:00
LICENSE Add license 2021-06-04 15:53:41 +02:00
package.json Add package details 2021-04-18 23:13:11 +02:00
README.rst Remove checkboxes from README 2021-06-04 00:31:21 +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`. The
project is still underdevelopment but basic highlighting should already work.

TODO
====

- Control structures

  - if()/elseif()/else()endif()
  - foreach()/endforeach()
  - while()/endwhile()

- Command definitions

  - macro()/endmacro()
  - function()/endfunction()

- Add grammar rules for comments

  - Bracket Comment
  - Line Comment

- Create an quoted argument external scanner