Nim Programming Cookbook // Home

Pradeep Gowda

This Cookbook is not a tutorial on learning Nim, neither is it aimed at introducing Nim to programmers. It is for people who are familiar with Nim syntax.

It is for people who want to figure out how to put together what they know about Nim with a problem they want to solve to write a program. After all, there is nothing like writing an actual program to learn a new programming language.

Effort is made ensure that the code shown here is correct and compiles to produce the desired result. You can look at the “code” directory for the complete source listing.

Table of contents


This code and text are dedicated to the public domain. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

You may copy and paste any code here verbatim into your codebase, wiki, blog, book or dance production as you see fit. The Markdown and Nim source is available on Github. Pull requests are always accepted for changes and additional content. This is a living document.

[changelog] | [github] | [links] | [acknowledgements] | [faq]