For simple 1-2 liners, I use nim secret with rlwrap to make line editing 
bearable, something like `rlwrap -S"> " nim secret`.

For everything else I just create a new temp file and use a file watcher like 
[entr](https://eradman.com/entrproject/) to compile and run the file. The 
compile time is very fast.

Reply via email to