Syntax¶
Surface syntax of the Nix language.
Contents¶
- Literals — Numbers, bools, null, paths
- Strings and Interpolation — String forms and ${}
- Lists and Attrsets — Collection types
- Functions — Lambdas and application
- let-in and with — Local bindings and with
- Conditionals and Asserts — if and assert
- Operators — Arithmetic, comparison, merge
- Comments and Formatting — Style and comments
- Antiquotation and Paths — Path syntax and antiquotation