A parser for HCL2 written in Python using Lark. It can be used as a Python library or through its CLI tools: hcl2tojson, jsontohcl2, and hq — a jq-like query tool for HCL files. Supports HCL2 only (not backwards compatible with HCL v1) and works with any HCL2 config file such as Terraform.
HCL parsing and encoding libraries for rust with serde support
HCL grammar for tree-sitter
HCL is a configuration language. pyhcl is a python parser for it.
The main features of virtuald/pyhcl are: HCL Libraries.
Open-source alternatives to virtuald/pyhcl include: amplify-education/python-hcl2 — A parser for HCL2 written in Python using Lark. It can be used as a Python library or through its CLI tools:… martinohmann/hcl-rs — HCL parsing and encoding libraries for rust with serde support. tree-sitter-grammars/tree-sitter-hcl — HCL grammar for tree-sitter. winebarrel/rhcl — Pure Ruby HCL parser. wondrify/hcl4j — HCL is the Hashicorp Configuration Language used in Terraform. This is a java Parser for parsing HCL and converting to…