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 This book also provides a good introduction to the interactive Lisp programming process and the REPL.
https://archive.org/details/a-programmers-guide-to-common-lisp
@amoroso Yeah I've read some books with intros to it, I was really hoping for more advanced deep dives or war stories of how people have used it. I'll add this to my read queue though, ty!
@mauve I'd be very interested in this too. People talk about all that, and I've seen how fun lisp could be back around its/tops20. The repl in, say, sbcl doesn't seem quite as friendly, among other things.
@tcikoritys Right?! I tried to give SBCLs repl a shake but I couldn't figure out what the hype was about. Just moving around the cursor and the code was kind of tedious compared to other repls I've tried. 😅
@mauve Right? I actually would love to be very interested, but can't quite get past the repl. I have things I'd love to build in a lisp environment. It's also possible that I'm a terrible programmer, but yeah. Curious what you're doing with Lisp.
@tcikoritys TBH I don't have any specific projects lined up yet. Pretty much anything I could do in lisp I could do faster in any of the other languages I know :P
I'm thinking of following this article to make a logic engine just for the practice:
https://medium.com/@batuhanayrba/building-a-prolog-like-logic-engine-in-common-lisp-1995d6168565
Then probably some messing with ASTs and parsers?
Also see this person's setup with rlwrap which makes the REPL a bit nicer. https://snac.d34d.net/pkw/p/1786980640.595258
@mauve @tcikoritys I very highly suggest then that you try ICL, Interactive Common Lisp, a new REPL for the terminal and the browser, with advanced features: https://github.com/atgreen/icl/releases straightforward to install.
Let's say you stay in the terminal REPL (you should use an editor and connect it to a Lisp image). At least, open a file with a dummy editor. You should see how you can re-compile and load a source file from the REPL. You don't restart anything (and that is huge).
https://lispcookbook.github.io/cl-cookbook/getting-started.html#load-and-reload-files
@mauve unfortunately no, my LISP brain is forever stuck in this article https://justine.lol/sectorlisp2