this post was submitted on 24 Nov 2023
1 points (100.0% liked)

Lisp

55 readers
3 users here now

founded 1 year ago
MODERATORS
 

I have been wanting to program in lisp for a good while, but I do not enjoy using Emacs, and Slimv and Vlime haven't functioned. So, would having Vim in one terminal editing a file and then a REPL in another work?

you are viewing a single comment's thread
view the rest of the comments
[–] Patrick-Poitras@alien.top 1 points 1 year ago

In learning emacs, I found it easier to spend a few hours customizing emacs so that it does exactly what I wanted rather than learning how to do things the emacs way. (yay CUA mode!) If the thing holding you back is that the defaults are garbage, or you prefer Vim bindings, there's some packages that handle that. Maybe there's a glimmer of hope there.

That being said, if you've given those a try, or are just plain out done with emacs, you can use SBCL like an interpreter and have it produce the output you want. The experience you'll get from that is similar to other languages that run on the "Write -> Compile -> Run -> Read output" cycle, like C++ or Rust.

REPL-style, interactive workflow is going to be more difficult. The UX in REPL mode with default SBCL is bad enough that if I had to use that, I'd probably copy-paste code in and out of the REPL window from another editor. Slimv and Vlime are probably better than that.