Any folks know of long form resources for learning how to do repl based development? I saw an article that said they used live debugging of a running system on a space mission which has got me intrigued.

@hajovonta Ty! Are there non-emacs guides that you're aware of? SLIME seems useful but I don't want to entirely switch editors just to use it.

Follow

@mousebot @hajovonta TY. I was hoping for more long form articles on built in REPLs like the on in SBCL rather than IDEs or editor extensions. I don't use any of those IDEs and don't plan on switching to them so it sadly doesn't apply.

· · Web · 2 · 0 · 0

@mauve @hajovonta yeah, so the sbcl repl is pretty unusable, gotta at a minimum use `rlwrap sbcl`. but i think no one works on it or those for other implementations coz everyone just uses things like SLIME/SLY. that's maybe also why when you say "repl driven dev", that's what everyone thinks of... i recently saw a bells and whistles CL repl somewhere, but it was all slop-made.

I used the sbcl repl with rlwrap exclusively.
It did everything I needed and I could any editor.
I do a lot of scheme programming now and use
a similar rlwrap enhanced primitive repl.

#!/bin/sh

REPL_COMPL="repl-completions.txt"
FILE_ARG=""
LOAD_QLOT=""

if [ -e "qlfile" ] ; then
LOAD_QLOT='--load .qlot/setup.lisp'
fi

if [ -e $REPL_COMPL ] ; then
FILE_ARG="--file ${REPL_COMPL}"
fi

#echo "FILE_ARG:$FILE_ARG"
#echo "LOAD_QLOT:$LOAD_QLOT"

rlwrap \
-b '()' \
-n \
-i \
--remember \
$FILE_ARG \
--complete-filenames \
sbcl \
$LOAD_QLOT

CC: @mousebot@todon.nl @hajovonta@mastodon.online @mauve@mastodon.mauve.moe

@pkw @hajovonta @mauve finally, a real maniac, ahem, i mean CL programmer, pipes up!

@pkw @mousebot @hajovonta That's awesome ty. Do you have any writeups on how you use it and how it fits in your workflow? Like, do you go repl-first when developing stuff?

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.