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-03 18:31:21 -04:00
|
|
|
- if()/elseif()/else()endif()
|
|
|
|
- foreach()/endforeach()
|
|
|
|
- while()/endwhile()
|
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-03 18:31:21 -04:00
|
|
|
- macro()/endmacro()
|
|
|
|
- function()/endfunction()
|
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
|