MyNixOS website logo
Description

Simple program that allows you to use the shebang #!nimcr in your Nim files. It will automatically compile the file to a hidden executable in the same directory as the nim file as long as the file doesn't already exist and is younger than (ie. created after the last modification of) the script file. If it is younger it will simply run the executable saving you from compiling the script each time it is run. The output of the compiler is also ignored if the compilation is succesfull and only the output of the program is used. If the compilation fails the output will be written to stderr and the return code will match that of the compiler.

Metadata

Version

2020-03-30

License

MIT

Status

BrokenUnknown
InsecureUnknown
UnfreeUnknown

Platforms (8)

    Darwin
    Linux
Show all
  • aarch64-darwin
  • aarch64-linux
  • armv6l-linux
  • armv7l-linux
  • i686-linux
  • mipsel-linux
  • x86_64-darwin
  • x86_64-linux