replim is the most quick REPL of nim.
if you have installed Nim already, that's easy:
nimble install replim
- checking value without "echo"
- auto indent
- running on VM
if you assigned variable or functions, you can check those value without typing "echo".
>>>var foo = "bar"
>>>foo
bar
>>>proc bar(): string =
... return "foo"
...
>>>echo bar()
foo
>>>bar()
foo
>>>bar() & ", bar"
foo, bar
- replim can't import libraries that import C library at present.
>>>import nre
..\..\..\..\..\nim-0.xx.x\lib\impure\nre.nim(432, 24) Error: cannot 'importc' variable at compile time
- :back : clear last line.
- :clear : clear all lines.
- :quit : quit this program.
- :display : display history.