Crates.io | tree-sitter-cfengine |
lib.rs | tree-sitter-cfengine |
version | 1.0.8 |
source | src |
created_at | 2024-10-18 12:44:44.70751 |
updated_at | 2024-10-20 20:00:34.143789 |
description | CFEngine grammar for tree-sitter |
homepage | |
repository | https://github.com/olehermanse/tree-sitter-cfengine |
max_upload_size | |
id | 1414221 |
size | 141,791 |
This tree-sitter grammar parses CFEngine policy language and turns it into an abstract syntax tree. It is used to provide syntax highlighting in the Zed editor, via this extension:
https://github.com/olehermanse/zed-cfengine
The grammar currently supports all major features of the language, including:
$()
and @()
)Before contributing for the first time, it's recommended to go through the tree-sitter tutorial for getting familiar with how everything works:
https://tree-sitter.github.io/tree-sitter/creating-parsers
Inspired by Lars Erik Wik's initial implementation available here:
https://github.com/larsewi/tree-sitter-cfengine
docker build --tag tree-sitter-cfengine .