{"id":13470718,"url":"https://github.com/mitchellh/tree-sitter-hcl","last_synced_at":"2025-10-23T20:32:18.337Z","repository":{"id":37051255,"uuid":"379096992","full_name":"mitchellh/tree-sitter-hcl","owner":"mitchellh","description":"A tree-sitter grammar for HCL (HashiCorp Configuration Language), used by projects such as Terraform.","archived":false,"fork":false,"pushed_at":"2022-06-20T12:52:01.000Z","size":259,"stargazers_count":76,"open_issues_count":3,"forks_count":12,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-02-06T13:13:21.974Z","etag":null,"topics":["hcl","tree-sitter"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitchellh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-22T00:26:21.000Z","updated_at":"2025-02-04T09:50:37.000Z","dependencies_parsed_at":"2022-06-25T00:38:51.345Z","dependency_job_id":null,"html_url":"https://github.com/mitchellh/tree-sitter-hcl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Ftree-sitter-hcl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Ftree-sitter-hcl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Ftree-sitter-hcl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Ftree-sitter-hcl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitchellh","download_url":"https://codeload.github.com/mitchellh/tree-sitter-hcl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237886844,"owners_count":19381910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hcl","tree-sitter"],"created_at":"2024-07-31T16:00:35.025Z","updated_at":"2025-10-23T20:32:17.935Z","avatar_url":"https://github.com/mitchellh.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# tree-sitter-hcl\n\n**Update: check out this more full-featured tree-sitter-hcl plugin here:**\nhttps://github.com/MichaHoffmann/tree-sitter-hcl\n\n[tree-sitter][] grammar for [HCL (HashiCorp Configuration Language)][hcl] files.\nHCL is the configuration format used by projects such as Terraform, Vault,\nWaypoint, Nomad, etc.\n\n[hcl]: https://github.com/hashicorp/hcl\n[tree-sitter]: https://github.com/tree-sitter/tree-sitter\n\n## Status\n\n**Important: This is not an officially supported HashiCorp project.** \nI am one of the founders of HashiCorp, but I built this in my personal\nfree time and there are no dedicated resources (people or otherwise)\nfrom the company on this project.\n\nThe grammar parses most HCL files I've thrown at it. It doesn't handle\ninterpolations yet (in strings or heredocs) and instead treats the full string\nas just a string. This is the biggest feature missing at the moment. Regardless,\nI am using this day to day for general HCL highlighting.\n\n## Screenshot\n\nThe screenshot shows a Terraform example syntax highlighted.\n\n![Screenshot](https://user-images.githubusercontent.com/1299/122850915-e442bf00-d2c2-11eb-85a1-a92ce9ac0644.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Ftree-sitter-hcl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellh%2Ftree-sitter-hcl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Ftree-sitter-hcl/lists"}