lainchan / λ

I want to get into lisp

Roy Batty · 2023-02-14 08:26
I really really want to get into lisp. I cannot decide which lisp is best for me. I would not be using it for any serious product. Just for fun. Maybe some scripts, some programs.
Eldon Tyrell · 2023-02-14 10:07
>>34330 It's easy to implement your own scheme if you are into that but it has very little structure so it can be hard to use for larger projects, specially if collaboration is important. That said, it is used for large-ish projects like GNU Sheppard and Guile (IIRC it's partially written in scheme). Common Lisp has more structure and is easier to use for real applications (even if just personal programs). It has many GUI bindings for example. StumpWM is written in CL so you might enjoy that. There is also racket but I don't like it. It's too bloated to be used for anything besides learning. As for books or tutorials, don't get too fixated on reading the "classics", read something fun. Something with examples you like.
Yuki Nagato · 2023-02-14 11:14
In my experience, one can spend too much time choosing which lisp is right for you. I say think of a project and grab the most convenient one. Or if you're the kind that likes to read a book, well, just use that book's lisp. SICP and PAIP are good for trying out stuff as you go, and have exercises. For scripting I suggest you try picolisp. It's not a major lisp but it's a practical scripting language somewhat like tcl/tk.
Unspecified · 2023-02-14 13:44
>>34330 I love common lisp. I'd really recommend "Land of Lisp" for learning how to use it, but as always I'd recommend just making something, anything, as soon as you have even a little knowledge of it.
protected · 2023-02-15 02:05
Common Lisp if only for the quality learning material. And stability. And portability. And ... https://gigamonkeys.com/book/ https://lispcookbook.github.io/cl-cookbook/
BloodCat · 2023-02-18 07:31
>>34330 Visit the Lisp thread: >>31415 >I really really want to get into lisp. I cannot decide which lisp is best for me. I recommend you learn R5RS (Racket with DrRacket but you need to change the language to R5RS in the menu. Alternatively, you can use Guile, Chez or Chicken) or Common Lisp (SBCL). Read Little Schemer + Seasoned Schemer or Practical Common Lisp (https://gigamonkeys.com/book/). You can read Land of Lisp first if Practical Common Lisp is too hard for you (and The Little Schemer is actually relevant for Common Lisp, too). I recommend you use https://www.gnu.org/software/emacs/ (or Doom Emacs if you want vim keybindings) + https://github.com/joaotavora/sly + https://elpa.nongnu.org/nongnu/rainbow-delimiters.html But you can find other options at: https://lispcookbook.github.io/cl-cookbook/editor-support.html (But do not use Atom because it's dead) For making practical programs, I think that Common Lisp and Racket are the best options. Racket was originally a Scheme but it's has evolved in other direction than other Schemes and it's now considered its own Lisp dialect.