Re:Flakes – Proposed mechanism to package Nix expressions in...
by viraptor on Sunday July 21, 2019 @03:19AM
(#20490326)
The example lacks functions / flow-control statements (ok, apart from "import if not defined", but it's more of a default value than a branch) / references to other elements. It's pretty much key-value dictionary. Not sure how you got an impression of Turing-complete DSL from that, since it would require at least one of them.
[ Parent
| on HN ]
Re:Flakes – Proposed mechanism to package Nix expressions in...
by weberc2 on Sunday July 21, 2019 @08:26AM
(#20491043)
The Nix expression language has branches and functions (including recursive functions). It is Turing complete, and it probably is necessary for its charter.