hcl.cr is a general-purpose HCL2 (Hashicorp Configuration Language) parsing library written in Crystal. It does not make any domain assumptions and aims to be spec-compliant and compatible with the Go implementation.
This is considered a work-in-progress, though may work already for many HCL2 documents. Much of the HCL2 spec is supported, except interpolation/template expressions and for expressions. However, it does not yet run against or pass the spec test suite, so there may be situations in which some documents do not work as they should.