5 ms·
Also check out https://dhall-lang.org https://dhall-lang.org It's GCL but with a strong type system and termination guarantees. I personally like the syntax a
by arianvanp 8y ago
Also check out https://dhall-lang.org https://dhall-lang.org
It's GCL but with a strong type system and termination guarantees.
I personally like the syntax a bit more than jsonnet. It's a bit less noisy.
I'm also a bit biased because I work on https://github.com/dhall-lang/dhall-kubernetes https://github.com/dhall-lang/dhall-kubernetes . We're currently working on a 2.0 release so the current state of the repo is a bit in turmoil.
Programmable configuration language like dhall an jsonet are very powerful and I like them way more than for example helm charts, where templating happens on the string level instead of at the data level.
- Trufa 8y agoJust my two cents but I would go against the first interaction with the user being find the bug, I didn't didn't find it and missed the point, granted I didn't take much time and I'm on mobile, but I guess that's the reality for many people if not most :)
- cyphar 8y agoThe bug is that your SSH keys are in /home/bill/.ssh/. But I agree the first page really don't help sell the idea.
- nitheshm 8y agoThe typo is in the name bill in the value of publicKey. I assume this is a way to introduce the user to definitions that help you avoid these kind of mistakes. I think it would be more suitable as a use case description rather than an exercise for the user.
- malkia 8y agoCan dhall be compiled for Windows?
- arianvanp 8y agoI don't see why not. Though I haven't tried it myself.
- yegle 8y agoGCL doesn't have an equivalent of let-expression though, this makes it less like writing GCL. Alternatively nix expression is also close enough: https://nixos.org/nix/manual/#chap-writing-nix-expressions https://nixos.org/nix/manual/#chap-writing-nix-expressions