No description
Find a file
2020-07-28 13:52:48 -04:00
src Fix TCC compilation 2020-07-28 13:52:48 -04:00
.gitignore Update gitignore 2017-02-21 22:02:57 -05:00
nimr.nimble Standardize project layout 2017-02-21 22:02:26 -05:00
README.md Update README.md 2018-03-30 10:29:54 -07:00

nimr: Run nim programs like scripts

This is a pretty much direct port of the excellent nimrun which was written by Flaviu Tamas. Unlike nimrun, nimr is implemented in nim and can be installed via nimble (for a nice smooth install).

Requirements

Nim compiler >= 0.16.0

Installation

Installation via Nimble is recommended: nimble install nimr

Use

After installation, simply add #!/usr/bin/env nimr as the first line of your script (just like you would with python/ruby/etc).

Features

  • Caching of compilation results