@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.
@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?
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
CC: @mousebot@todon.nl @hajovonta@mastodon.online @mauve@mastodon.mauve.moeREPL_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