A tree-sitter grammar for HCL (HashiCorp Configuration Language), used by projects such as Terraform.
by mitchellhC
2 of 6 standards met
Hey, about 3 weeks ago i started to write a tree-sitter grammar for hcl too: https://github.com/MichaHoffmann/tree-sitter-hcl it works reasonably well and handles templates ( somewhat ). would you like to collaborate here ? If so i would try to help out here and deprecate mine. i hope its not bad form to advertise here, but i could not reach you otherwise.
Repository: mitchellh/tree-sitter-hcl. Description: A tree-sitter grammar for HCL (HashiCorp Configuration Language), used by projects such as Terraform. Stars: 86, Forks: 12. Primary language: C. Languages: C (95.7%), JavaScript (1.8%), C++ (1.4%), Rust (0.7%), Nix (0.2%). License: MIT. Topics: hcl, tree-sitter. Open PRs: 1, open issues: 2. Last activity: 3y ago. Community health: 42%. Top contributors: mitchellh.
Last 12 weeks · 0 commits
I saw your tweet and tried to implement this Tree Sitter module, but somehow it doesn't parse the HCL files. Tried with Terraform and Nomad , but no luck. Here is my TSConfigInfo: