summaryrefslogtreecommitdiff
path: root/ext/include/file_resolver.go
AgeCommit message (Collapse)Author
2019-09-10ext/include: RemoveMartin Atkins
This experimental extension is not ready to be included in a release. It ought to be reworked so that "include" blocks get replaced with what they include _in-place_, preserving the relative ordering of blocks. However, there is no application making use of this yet and so we'll defer that work until there's a real use-case to evaluate it with.
2019-09-09Unfold the "hcl" directory up into the rootMartin Atkins
The main HCL package is more visible this way, and so it's easier than having to pick it out from dozens of other package directories.
2019-09-09Change module path to github.com/hashicorp/hcl/v2Martin Atkins
This is in preparation for the first v2 release from the main HCL repository.
2017-09-11hclparse: rename ParseZCL to ParseHCLMartin Atkins
2017-09-11Move the zcl package and its two parsing subpackages to "hcl" namesMartin Atkins
This is a super-invasive update since the "zcl" package in particular is referenced all over. There are probably still a few zcl references hanging around in comments, etc but this takes care of most of it.
2017-09-11Rename the ancillary packages from "zcl" to "hcl".Martin Atkins
The main "zcl" package requires a bit more care because of how many callers it has and because of its two subpackages, so we'll take care of that one separately.
2017-09-11Adjust import paths for hashicorp/hcl2 repoMartin Atkins
This begins 'the great fork' of zcl to HCL.
2017-07-27ext/include: extension for including bodies into other bodiesMartin Atkins
This package implements a language extension that allows configuration authors to include the content of another file into a body, using syntax like this: include { path = "./foo.zcl" } This is implemented as a transform.Transformer so that it can be used as part of a transform chain when decoding nested block structures to allow includes at any arbitrary point. This capability is not built into the language because certain applications will offer higher-level constructs for connecting multiple separate config files, which may e.g. have a separate evaluation scope for each file, etc.