Interactive Nim Shell / REPL / Playground
$ nimble install inim
if
, for
, proc
, var
, ...)>>> x
nim
compiler in PATHimport
your local modules (access to exported* symbols)inim -s example.nim
inim -d:ssl -d:DEBUG
)-d
by adding a --
prefix to arguments (ie -d:--threads:on)Config is saved and loaded from configDir / inim
.
Currently, the config allows you to set two options:
prompt
: Set prompt string (default: "inim> ")showTypes
: Show var types when printing without echo (default: true)showColor
: Output results with pretty colorswithTools
: Enable built in toolsPull requests and suggestions are welcome.