Skip to content
Example programs in Nim, mostly from the documentation.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Makefile
README.md
arrays.nim
blocks.nim
caseexpr.nim
caserange.nim
countup.nim
enum.nim
greetings.nim
ifexpr.nim
loop.nim
matrix.nim
objects.nim
openarrays.nim
operator.nim
overload.nim
paths.nim
proc.nim
procedurals.nim
references.nim
sequence.nim
sets.nim
slices.nim
tuples.nim
vararg.nim
whensys.nim

README.md

Learning Nim

A bunch of little Nim programs that I've written while working through the Nim documentation [1]. There is a Makefile, just run make to build everything. Binaries will be placed in the bin/ directory.

Not all of the programs follow the examples exactly, in some cases I explored a bit because I was curious. In other cases I found the example program obvious or boring and skipped it altogether.

[1]: http://nim-lang.org/docs/tut1.html and http://nim-lang.org/docs/tut2.html

You can’t perform that action at this time.