nix

the language

Nix is a language. It has numbers. You can add them.

1 + 2
= 3

The above expression evaluates to 3. If you have nix installed, try running nix repl and pasting that in.

"hello nix!"
= "hello nix!"

Here you can see a string.

"escapes\nand\nnewlines" == "escapes
and
newlines"
= true

Nix has booleans.

!(true && false) || false
= true

Nix has sets, key value pairs known as records, maps, or objects in other lanugages. They can be nested.

{ foo = 123; }.foo
= 123