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).
Nim compiler >= 0.16.0
Installation via Nimble is recommended: nimble install nimr
After installation, simply add #!/usr/bin/env nimr
as the first line
of your script (just like you would with python/ruby/etc).
- Caching of compilation results