Martin Atkins
a6dff4e9f9
hcldec: BlockSetSpec and BlockMapSpec decode implementations
2017-10-03 14:44:54 -07:00
Martin Atkins
cbdf66e80a
hcldec: register DefaultSpec with gob
2017-10-03 14:43:54 -07:00
Martin Atkins
2892561eed
hcldec: Fix MinItems/MaxItems diagnostics messages
...
These were not previously consistent with the usual style.
2017-10-03 12:17:47 -07:00
Martin Atkins
cc215b6afe
hcldec: ImpliedSchema must visit deep specs
...
Previously, due to a bug, it was only visiting the first two levels of
specifications, missing anything referenced at lower levels.
2017-10-03 12:17:47 -07:00
Martin Atkins
a4ee7188ad
hcldec: New DefaultSpec specification
...
This is a wrapper that allows a default value to be applied if a primary
spec results in a null value.
2017-10-03 11:57:53 -07:00
Martin Atkins
46b20d40af
Update doc comments and readmes for zcl -> HCL.
2017-09-11 16:56:31 -07:00
Martin Atkins
708abb8c97
Move the zcl package and its two parsing subpackages to "hcl" names
...
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-11 16:40:37 -07:00
Martin Atkins
0dc3a6015c
Rename the ancillary packages from "zcl" to "hcl".
...
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-11 16:00:31 -07:00