Skip to content

jakassebaum/tree-sitter-cmake

 
 

Repository files navigation

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.

Parsed syntax

  • Command
    • General commands
    • For and while loops
    • If conditions
    • Functions and macros
  • Arguments
    • Quoted arguments
    • Bracket arguments
    • Unquoted arguments
    • Parentheses
  • Variable references
    • Environment and cache variables
    • Normal variables

About

A Tree-sitter parser for CMake

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Tree-sitter Query 45.2%
  • C 19.3%
  • JavaScript 18.7%
  • CMake 12.1%
  • Python 4.7%