Nim is an actively used programming language created in 2008.

11Years Old 12,413Users 2Jobs

Example code from the Hello World Collection:

# Hello world in Nim

echo "Hello World"

Example code from Linguist:

# from: https://github.com/nim-lang/Nim/blob/27b081d1f77604ee47c886e69dbc52f53ea3741f/compiler/nimfix/nimfix.nim.cfg

# Special configuration file for the Nim project
# gc:markAndSweep

hint[XDeclaredButNotUsed]:off
path:"$projectPath/.."

path:"$lib/packages/docutils"
path:"$nim"

define:useStdoutAsStdmsg
symbol:nimfix
define:nimfix

cs:partial
#define:useNodeIds
define:booting
define:noDocgen

Example code from Wikipedia:

proc printf(formatstr: cstring) {.header: "<stdio.h>", varargs.}

printf("%s %d\n", "foo", 5)
Edit

Last updated February 11th, 2019