Skip to content

mtshiba/replim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

quick REPL of nim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages