From 2dc6dc0b33e867411150ca2eec64944d0af83684 Mon Sep 17 00:00:00 2001 From: Uy Ha Date: Fri, 2 Jul 2021 10:09:58 +0200 Subject: [PATCH] Update REAMDE --- README.rst | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index cac4e21..edf43a7 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,32 @@ 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. +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