INim icon indicating copy to clipboard operation
INim copied to clipboard

Interactive Nim Shell / REPL / Playground

Results 26 INim issues
Sort by recently updated
recently updated
newest added

Unhandled sysFatal from top level scope can crash the repl: ``` %zsh> inim 👑 INim 0.6.1 Nim Compiler Version 1.6.0 [Linux: amd64] at /usr/bin/nim nim> var s = newSeq[int](5) nim>...

help wanted

Based on TAB, linenoise should have this functionality, one should be able to somehow call nimsuggest , but for the first implementation, just a set with all the defined names...

help wanted

**info:** - nim compiler version: `1.4.8` - inim version : 0.6.1 - os: windows 10 **the code:** ``` import os nim> proc uuu= echo "start" sleep 1000 echo "end" nim>...

bug
help wanted

## how to reproduce the bug First, have a file named `test.nim`: ```nim const foo* = 1 ``` Then: do this in inim ``` > import test > var a...

question

``` $ nimble install inim --verbose Reading official package list Downloading https://github.com/inim-repl/INim using git Cloning latest tagged version: v0.6.1 Verifying dependencies for [email protected] Reading official package list Checking for cligen@>=...

question

on MacOS ``` Nim-lang-code inim --withTools 👑 INim 0.6.1 Nim Compiler Version 1.6.2 [MacOSX: arm64] at /opt/homebrew/bin/nim nim> pwd() Error: cannot open file: src/inimpkg/commands nim> ls() Error: cannot open file:...

help wanted

please note that the last statement, i.e. `a[..3]` outputs 3 lines of result ``` nim> var a = @[3, 1] nim> a[0..1] @[3, 1] == type int nim> a.add 4...

help wanted

test.nim: ```nim import foo/util ``` ``` nim c -o:app -r test.nim #works, because I set the path in nim.cfg ``` inim ``` >>> import foo/util Error: cannot open file: foo/util...

I am trying to enter a 'proc' definition like ``` proc T(x:int) : int = if x == 0 : echo "got 0" else : echo "got ",x result= x...