No description
Find a file
Shunsuke Shibayama 6328febc7a
Update replim.nim
2021-02-22 15:02:14 +09:00
demo update description 2018-12-12 21:28:39 +09:00
src Update replim.nim 2021-02-22 15:02:14 +09:00
.gitignore Merge branch 'master' into devel 2018-11-19 18:17:00 +09:00
.travis.yml add .travis.yml 2018-11-19 18:25:28 +09:00
LICENSE fix deprecated procs, support 'func' 2020-12-25 02:37:57 +09:00
README.md update README.md 2020-12-25 02:44:00 +09:00
replim.nimble update README.md 2020-12-25 02:44:00 +09:00
TODO.md fix behavior of 'case' 2018-11-20 09:09:15 +09:00

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.