4 ms·
That looks like a Turing-complete DSL. Not like JSON at all. Do we need yet another Turing-complete language for writing package metadata?
by tannhaeuser 7y ago
That looks like a Turing-complete DSL. Not like JSON at all. Do we need yet another Turing-complete language for writing package metadata?
- viraptor 7y agoThe 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.
- weberc2 7y agoThe Nix expression language has branches and functions (including recursive functions). It is Turing complete, and it probably is necessary for its charter.
- ris 7y agoIt's not "package metadata", it's the complete instructions for building an entire operating system in an automated way.