2021-04-10 10:39:22 -04:00
|
|
|
==============================
|
|
|
|
A Tree-sitter parser for CMake
|
|
|
|
==============================
|
2021-05-28 16:51:24 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
====
|
|
|
|
|
2021-06-03 18:31:21 -04:00
|
|
|
- Control structures
|
2021-05-29 13:35:48 -04:00
|
|
|
|
2021-06-17 16:43:12 -04:00
|
|
|
- if()/elseif()/else()endif() [DONE]
|
|
|
|
- foreach()/endforeach() [DONE]
|
2021-06-17 16:43:53 -04:00
|
|
|
- while()/endwhile() [DONE]
|
2021-05-29 13:35:48 -04:00
|
|
|
|
2021-06-03 18:31:21 -04:00
|
|
|
- Command definitions
|
2021-05-29 13:35:48 -04:00
|
|
|
|
2021-06-17 17:07:08 -04:00
|
|
|
- macro()/endmacro() [DONE]
|
|
|
|
- function()/endfunction() [DONE]
|
2021-05-29 13:35:48 -04:00
|
|
|
|
2021-06-03 18:31:21 -04:00
|
|
|
- Add grammar rules for comments
|
2021-05-28 17:25:42 -04:00
|
|
|
|
2021-06-03 18:31:21 -04:00
|
|
|
- Bracket Comment
|
|
|
|
- Line Comment
|
2021-05-28 17:25:42 -04:00
|
|
|
|
2021-06-03 18:31:21 -04:00
|
|
|
- Create an quoted argument external scanner
|