replim

most quick REPL of nim


Keywords
repl, binary, program
License
MIT
Install
nimble install replim

Documentation

Replim

License: MIT Build Status nimble

replim is the most quick REPL of nim.

Installation

if you have installed Nim already, that's easy:

nimble install replim

Features

  • 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

Warning

  • replim can't import librarys 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

Options

  • :back : clear last line.
  • :clear : clear all lines.
  • :quit : quit this program.
  • :show : display history.