GitShow/mitchellh/tree-sitter-hcl
mitchellh

tree-sitter-hcl

A tree-sitter grammar for HCL (HashiCorp Configuration Language), used by projects such as Terraform.

by mitchellh
hcltree-sitter
Star on GitHubFork

C

89 stars11 forks1 contributorQuiet · 4y agoSince 2021MIT

Meet the team

See all 1 on GitHub →
mitchellh
mitchellh25 contributions

Languages

View on GitHub →
C95.7%
JavaScript1.8%
C++1.4%
Rust0.7%
Nix0.2%
Scheme0.1%
Other0.1%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 4y ago
See all on GitHub →
drestrepom
Deploy to npmOpenIssue

Deploy the parser to npm, i want to use it directly

drestrepom · 2y ago
VixieTSQ
Bump tree-sitter to 0.20 and expose highlights.scm in rust bindingOpenPR
VixieTSQ · 4y ago
WhyNotHugo
Create a tagOpenIssue

Hi! I'm trying to integrate this into via . However, due to the way it works right now, a specific tag must be pinned, that specific version is downloaded. Can you provide a single tag with the current version (even if just )? Thanks!

WhyNotHugo · 5y ago

Recent fixes

View closed PRs →
MichaHoffmann
CollaborationClosedIssue

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.

MichaHoffmann · 4y ago
cmdrrobin
Not getting parser to workClosedIssue

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:

cmdrrobin · 5y ago
Structured data for AI agents

Repository: mitchellh/tree-sitter-hcl. Description: A tree-sitter grammar for HCL (HashiCorp Configuration Language), used by projects such as Terraform. Stars: 89, Forks: 11. 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: 4y ago. Community health: 42%. Top contributors: mitchellh.

·@ofershap

Replace github.com with gitshow.dev