Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 1.17 KB

README.md

File metadata and controls

59 lines (43 loc) · 1.17 KB

Replim

License: MIT Build Status nimble

replim is the most quick REPL of nim.

DEMO

demo

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 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

Options

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