4 ms·
The Nix Language, while goofy at times, is built for config-as-code and is hiding a decent little functional language in what looks like just attribute assignme
by bugeats 3y ago
The Nix Language, while goofy at times, is built for config-as-code and is hiding a decent little functional language in what looks like just attribute assignments.
Likewise, CUE Lang is built for config (esp merging docs with shared refs) and is highly under-appreciated. You can express powerful computations if you puzzle over the logical inferencing for a bit.
https://nixos.org/manual/nix/unstable/language/index.html https://nixos.org/manual/nix/unstable/language/index.html
https://cuelang.org/docs/concepts/logic/ https://cuelang.org/docs/concepts/logic/