commit | 66db920c073d587ac4a90a92d62e00850725dee1 | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Mon Dec 17 19:02:08 2018 +0100 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Thu Dec 20 18:04:31 2018 +0100 |
tree | 4255feda2066b51a91c10368a9a9314701fb57bd | |
parent | 2bf066f0d7ae7ffa6f32453ae790ea37c2ebaf4a [diff] |
cue: fix semantics of field comprehensions They were previously defined as struct comprehensions, which is slightly different. As a result, trim’s behavior changed, as this change makes it harder to detect whether the source of a field is a comprehension in evaluated code. Change-Id: I59ec737bc8cc22cc4bc5909fbc9dc7e7d7c7aa5c
Configure, Unify, Execute
CUE is an open source configuration language which aims to make complex configurations more manageable and usable.
CUE is a constrained-based language. Constraints provide a powerful yet simple alternative to inheritance, a common source of complexity with other configuration languages.
The CUE tooling also provides integrated declarative scripting aimed at simplifying putting configurations to good use while giving static analyis tools maximum domain knowledge.
Some highlights:
If you already have Go installed, the short version is:
go get -u cuelang.org/go/cmd/cue
This will install the cue
command line tool.
For more details see Installing CUE.
A demonstration of how to convert and restructure and existing set of Kubernetes configurations is available in written form or as video.
Language Specification: official CUE Language specification.
API: the API on godoc.org
Builtin packages: builtins available from CUE programs
cue
Command line reference: the cue
command
Our canonical Git repository is located at https://cue.googlesource.com.
To contribute, please read the Contribution Guidelines.
Unless otherwise noted, the CUE source files are distributed under the Apache 2.0 license found in the LICENSE file.