28 lines
601 B
ReStructuredText
28 lines
601 B
ReStructuredText
==============================
|
|
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
|