nimr

Helper to run nim code like a script

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version Unknown
License MIT
CI Status Passing
Downloads 0
Last Indexed 2026-07-21 05:24

Tags

Installation

nimble install nimr
choosenim install nimr
git clone https://github.com/Jeff-Ciesielski/nimr

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
nimr - - - - - - -

Source

Repository https://github.com/Jeff-Ciesielski/nimr
Homepage https://github.com/Jeff-Ciesielski/nimr
Documentation View Documentation
Registry Source nimble_official

README

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