Any #CommonLisp 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. #lisp #programming
@mauve
hi, start here: https://gigamonkeys.com/book/
@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.
@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.
#!/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
@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?
@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.