4 ms·
A better pattern is to use your editor as the REPL via SLIME or vim-fireplace or similar. Basically: 1. Headless server like nREPL for Clojure 2. Code editor
by cormacrelf 9y ago
A better pattern is to use your editor as the REPL via SLIME or vim-fireplace or similar. Basically:
1. Headless server like nREPL for Clojure
2. Code editor that can send chunks of text to the headless repl and receive the output. Emacs and neovim (with its terminal) are pretty good at this. You can use commands to send the surrounding s-expression, paragraph, etc.
3. Ta da! Your text is already in your source file.