mirror of
https://github.com/ruuda/rcl.git
synced 2025-12-23 04:47:19 +00:00
A reasonable configuration language
https://rcl-lang.org
| examples | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
Ruud’s Configuration Language
Why another config language? Because:
-
HCL is too ad-hoc to be suitable for any serious abstraction (
setunionis variadic so it only works with a statically known number of sets;flattenrecursively flattens so it can’t be typed properly and breaks generic code, for comprehensions can’t do nested loops,for_eachsyntax is bolted on, etc.) -
Nix-the-language is great but forces the entire Nix store on you when all I want is to evaluate expressions.
-
Python is great but requires some boilerplate for doing the IO if you want to use it as a configuration language.
-
Dhall has the right ideas but the syntax and heavy use of Unicode symbols make it look ugly.
-
CUE and Nickel were not invented here.