inim-repl / Inim
Licence: mit
Interactive Nim Shell / REPL / Playground
Stars: ✭ 407
Programming Languages
nim
578 projects
Labels
Projects that are alternatives of or similar to Inim
vue-code-view
A Vue 2 component like Vue SFC REPL `@vue/repl` : u can edit, run and preview the code effect display in real time on the web page.
Stars: ✭ 67 (-83.54%)
Mutual labels: playground, repl
go-playground
GNU/Emacs mode that setup local Go playground for code snippets like play.golang.org or even better :)
Stars: ✭ 64 (-84.28%)
Mutual labels: playground, repl
Riposte
Python package for wrapping applications inside a tailored interactive shell
Stars: ✭ 376 (-7.62%)
Mutual labels: repl
Playgroundtdd
Small library to easily run your tests directly within a Playground
Stars: ✭ 319 (-21.62%)
Mutual labels: playground
Janeway
🌌 A Node.js console REPL with object inspection and many other features
Stars: ✭ 398 (-2.21%)
Mutual labels: repl
Playground
Instantly create Swift playgrounds from the command line
Stars: ✭ 391 (-3.93%)
Mutual labels: playground
Rcrl
Read-Compile-Run-Loop: tiny and powerful interactive C++ compiler (REPL)
Stars: ✭ 332 (-18.43%)
Mutual labels: repl
Hydrogen
Run code interactively, inspect data, and plot. All the power of Jupyter kernels, inside your favorite text editor.
Stars: ✭ 3,763 (+824.57%)
Mutual labels: repl
Uistackviewplayground
Playground to play with UIStackViews.
Stars: ✭ 319 (-21.62%)
Mutual labels: playground
Spry
A Mac and iOS Playgrounds Unit Testing library based on Nimble.
Stars: ✭ 319 (-21.62%)
Mutual labels: playground
Go Playground
Better Go Playground powered by React and Monaco editor
Stars: ✭ 354 (-13.02%)
Mutual labels: playground
Scope Capture
Project your Clojure(Script) REPL into the same context as your code when it ran
Stars: ✭ 392 (-3.69%)
Mutual labels: repl
Luaviewsdk
A cross-platform framework to build native, dynamic and swift user interface - 强大轻巧灵活的客户端动态化解决方案
Stars: ✭ 3,586 (+781.08%)
Mutual labels: playground
Babel Time Travel
Time travel through babel transformations one by one (implemented in the Babel REPL now)
Stars: ✭ 338 (-16.95%)
Mutual labels: repl
INim: Interactive Nim Shell
$ nimble install inim
Features
- Runs on Linux, macOS and Windows
- Auto-indent (
if
,for
,proc
,var
, ...) - Arrow keys support (command history and line navigation)
- Prints out value and type of discarded expressions:
>>> x
- Uses current
nim
compiler in PATH - Runs in the current directory:
import
your local modules (access to exported* symbols) - Preload existing source code (access to non-exported* symbols):
inim -s example.nim
- Optional Colorized output
- Edit lines using $EDITOR (Ctrl-X)
- Built in tools like ipython (cd(), ls(), pwd(), call()) enabled with --withTools
- When piped a file or some code, INim will execute that code and exit
- Extra compiler options can be specified by adding them as arguments inim with the -d flag (ie
inim -d:ssl -d:DEBUG
) - Flags can turned on with
-d
by adding a--
prefix to arguments (ie -d:--threads:on)
Config
Config is saved and loaded from configDir / inim
.
- On Windows, this is %APPDATA%\inim
- On Linux, this is /home//.config/inim
Currently, the config allows you to set two options:
- Style
-
prompt
: Set prompt string (default: "inim> ") -
showTypes
: Show var types when printing without echo (default: true) -
showColor
: Output results with pretty colors
-
- History
- persistent history (default: true)
- Features
-
withTools
: Enable built in tools
-
Contributing
Pull requests and suggestions are welcome.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].