a REPL for Nim

cicak dev log

Read, eval, print, loop, and keep the state.

Rendered with nimib

A REPL for Nim, where each input is compiled to native code and the session keeps its state. These posts follow its development, newest first. The code is on GitHub.

DatePostSummary
Cicak, the chirping gecko Naming the REPL cicak, after the chirping house gecko. Where it lives, what it is called, the stories around it, and why it fits a REPL.
How could a Nim REPL work? Research: prior art for Nim REPLs, the cells-as-modules design, a library and service architecture, and a reactive notebook.
A working PoC with Hot Code Reloading and Incremental Compilation First proof of concept: new cell modules are loaded into a running process with hot code reloading, earlier globals keep their values, and incremental compilation makes adding a cell cheap.