Nim is an efficient, expressive and elegant programming language.
Nim by Example is a list of briefly explained example programs and code chunks, showcasing Nim's syntax and performing common tasks. Start off with the Hello world example or choose an example from the list below.
For resources on Nim beyond this website, you are encouraged to check out Nim's official documentation, which also includes tutorials to get you started, among other things.
You can run Nim code (including these examples) without installing Nim by writing and running it in the Nim Playground.