Unleash The REPL With Sly

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии • 35

  • @mihaipauldtru
    @mihaipauldtru 2 года назад +7

    This is a great introduction to Sly, thanks!
    I would love to see an example Common Lisp web app, or maybe quick one-off tutorials about stuff like hunchenroot, clack, postmodern and other libraries that tie into making actual stuff with Common Lisp and not just workflows and approaches to programming itself.
    Keep it up, please! I really like this recent turn to Common Lisp and I hope for more deep dives into it.

    • @GavinFreeborn
      @GavinFreeborn  2 года назад +4

      I'll definitely be doing this. In fact I may have already recorded it 😉

  • @marknaylor7322
    @marknaylor7322 3 месяца назад

    I had to watch it a second time to really start to understand it. Also helps that I went back and read through (info "sly") again. I've gotten some illegal stickers when compiling a defun (C-c C-c). Re-watching the video and rereading the manual makes me want to keep trying to get sly to work for me.

  • @angel-peralta
    @angel-peralta 2 года назад

    Hey Gavin, great intro to Sly. I appreciate the content, keep up the good work!

  • @AzerAnimations
    @AzerAnimations 2 года назад

    Perfect, I just started looking into Common Lisp and I got Sly with Doom Emacs so I wanted to learn how to use it

  • @trannusaran6164
    @trannusaran6164 2 года назад +7

    You might already have a video planned for this, but how about one for project management with Roswell and cl-project? Most common lisp tooling is pretty foreign to me, so I'd love to learn the current best practices

    • @cherryramatis2508
      @cherryramatis2508 2 года назад

      I would love to see this

    • @trejohnson7677
      @trejohnson7677 2 года назад

      rtfm. start with asdf, then uiop. it will pop ur cherry. the whole thing.

    • @trannusaran6164
      @trannusaran6164 2 года назад

      @@trejohnson7677 umm wow

    • @trejohnson7677
      @trejohnson7677 2 года назад

      ​@@trannusaran6164 there's just no way around it. I spent too much time being scared of the manual, and well, it's well written. I mean ASDF even meticulously defines its entire grammar. trust, from a fellow johnson.

    • @trannusaran6164
      @trannusaran6164 2 года назад +2

      @@trejohnson7677 asdf's documentation *is* well-written, but the onboarding process is still very rough. I know how it works through reading and experimentation by now, but we're gonna have a hard time as a community if we don't take steps to streamline this.
      Roswell is fantastic needs to take some inspiration from leiningen or cargo IMO. Having a "cargo new my-app" for common lisp would be a game changer (as would more example apps)

  • @coding4791
    @coding4791 2 года назад +2

    Thanks for posting. Sly seems better than SLIME that I have been using, especially for debugging. Would you mind commenting about how you achieved automatic parenthesis-matching in the sly REPL? I could not get paredit to work with the sly REPL, although it works in the sly scratch buffer.

    • @coding4791
      @coding4791 2 года назад +3

      Ah, just added (add-hook 'sly-mode-hook #'enable-paredit-mode) - works fine!

  • @abhinavchavali1443
    @abhinavchavali1443 2 года назад +2

    Can you go over your common lisp workflow? Like emacs, sly, asdf, roswell etc? I’m new to common lisp, and as such don’t really understand how to make a full project

    • @GavinFreeborn
      @GavinFreeborn  2 года назад +1

      Sure thing. I found this a little confusing myself the first time.

  • @bugrahanabdulkarim6034
    @bugrahanabdulkarim6034 2 года назад

    How do you load common lisp packages in sly on Guix?

  • @YghorKerscher
    @YghorKerscher Год назад

    On SLIME I could `C-c C-j` and send the current expression to the REPL. Seems Sly removed the ability to do so. How do you usually send expressions to the REPL without retyping?

  • @maxreuv
    @maxreuv 2 года назад

    Gavin, thank you, very informative but terse video. What do you develop in Common Lisp, I am wondering because I am curious about CL but have never developed anything in it beyond simple "hello worlds"?

    • @GavinFreeborn
      @GavinFreeborn  2 года назад +4

      Good quality, I recently built a web service for my job using it I have a video covering the topic but is still am waiting on approval to share it. Personally I use it for nearly any personal project. I find I can go from nothing to a proof of concept to a final product faster with lisp than any other language.

  • @AzerAnimations
    @AzerAnimations 2 года назад

    Would you ever make videos on Clojure?

  • @ianmart6578
    @ianmart6578 Год назад

    Thank you. Great vid!!

  • @RaveenKumar
    @RaveenKumar 2 года назад

    Can you do a guide on how to use eMacs easy customisation menu?

    • @RaveenKumar
      @RaveenKumar 2 года назад

      It’s everything but easy.

  • @ade5324
    @ade5324 2 года назад

    noob question: can't you just use ielm for repl and edebug for debugging?

    • @GavinFreeborn
      @GavinFreeborn  2 года назад +2

      For elisp yes you can. However this is for common lisp. They are different languages

    • @ade5324
      @ade5324 2 года назад

      @@GavinFreeborn got it

  • @nonefvnfvnjnjnjevjenjvonej3384
    @nonefvnfvnjnjnjevjenjvonej3384 2 года назад

    Your videos are sooo good

  • @tanishshrivastava2442
    @tanishshrivastava2442 2 года назад

    Forgive me if you have covered this already, but I hear that it is possible to write programs which do manual memory management in common lisp. I would be very interested in seeing a video on that.

    • @KolobeTona
      @KolobeTona 2 года назад

      Where did you hear that?

    • @tanishshrivastava2442
      @tanishshrivastava2442 2 года назад

      @@KolobeTona In some hacker news threads. They said it would be quite ugly, but it can be done.

  • @pouria2728
    @pouria2728 2 года назад

    Emacs ftw!

  • @jamesstoup4268
    @jamesstoup4268 2 года назад

    Sweet!

  • @sjatkins
    @sjatkins 2 года назад

    Text editor? Is Emacs a "text editor"? Well sure, in one small corner of its capabilities.

    • @bullpup1337
      @bullpup1337 7 месяцев назад

      thats literally its definition and origin. Of course it can do more.