Creating Your First Lisp Project - Quicklisp, asdf, and Packages

Sdílet
Vložit
  • čas přidán 13. 05. 2022
  • In this tutorial, we will create a simple REST API in Common Lisp and learn about Quicklisp and asdf. You will know everything needed to create a professional Lisp library or executable by the end.
    www.quicklisp.org/beta/
    Let me know what you think and if there is anything specific you would like to learn about.
    ---------------► Wanna Support Me? ◀︎---------------
    Github:
    www.github.com/sponsors/gavinok
    Patreon:
    / gavinfreeborn
    ---------------► Wanna Checkout My Dots? ◀︎---------------
    Vimrc:
    github.com/Gavinok/dotvim
    Emacs Config:
    github.com/Gavinok/emacs.d
    ---------------► Come Join The Community◀︎---------------
    LBRY:
    open.lbry.com/@GavinFreeborn:...
    Matrix Space:
    matrix.to/#/%23gavinfreeborn:...
    Discord:
    / discord
    00:00 Intro
  • Věda a technologie

Komentáře • 48

  • @gnorts_mr_alien
    @gnorts_mr_alien Před rokem +4

    Thank you Gavin, you consistently produce the best CL content for people on the path to becoming intermediate lispers. Very appreciated.

  • @AzerAnimations
    @AzerAnimations Před 2 lety +3

    This is actually the exact type of video I was looking for!

  • @jimlawson629
    @jimlawson629 Před 2 lety +3

    Gavin, thank you so much for all the recent Lisp content! This sort of info is hard to come by in video format. Looking forward to another video.

    • @GavinFreeborn
      @GavinFreeborn  Před 2 lety +2

      My pleasure! There is plenty more where that came from.

  • @emoutraspalavras-marloncou4459

    I love LISP... it is amazing. Thank you for the contents. I hope there will be more similar material in the near future.

    • @GavinFreeborn
      @GavinFreeborn  Před 2 lety +2

      Indeed there is haha might be coming out a little late this week but still coming

  • @ArmeroPR
    @ArmeroPR Před 2 lety +2

    Glad I found your channel. Subbed.

  • @caddr
    @caddr Před rokem +1

    thank you, I want to learn asdf but the asdf manual was confusing me, this video made my confusion go away

  • @user-ui8my9zs7o
    @user-ui8my9zs7o Před 9 měsíci

    Please make more lisp content!

  • @farsthary1984
    @farsthary1984 Před rokem +1

    love your voice

  • @os4764
    @os4764 Před rokem

    Hi thanks for the tutorial. I have a question, I created a web-project and then when I go to static/css to change the color of h1 for example to 'red', I don't see the change on the page. My question is very simple: do I re-compile a file in order for the changes to take effect? In this case, do I re-compile the web.lisp file? and what is the command, is it C-c C-c ?
    It would be great if you could make a web app tutorial from start to finish, going into the different files, making CSS changes, etc. Thank you!

  • @doesnt_even_lift
    @doesnt_even_lift Před 2 lety +1

    Is there any chance you'd consider doing a video on how to develop TUI applications with croatoan or similar? I've never figured out how to make curses libraries mesh well with repl-driven development

    • @GavinFreeborn
      @GavinFreeborn  Před 2 lety +1

      Sure. I would definitely be open to making such a video. I've just hardly had the time to record a video recently. I have a few videos on the backlog but this is definitely worth tackling

  • @trannusaran6164
    @trannusaran6164 Před 2 lety +1

    I actually basically rebuilt cl-cookieproject within cl-project's templating system. Very nice system fukamachi set up, not sure who to contribute that to, lol

    • @GavinFreeborn
      @GavinFreeborn  Před 2 lety +2

      Would love to see that since I haven't gotten a chance to do that haha. I did realize that it had one just never got into understanding it 😅

  • @josueteodoro2342
    @josueteodoro2342 Před 5 měsíci

    hey, great content! In a different tangent, what modeline are you using in emacs?

    • @GavinFreeborn
      @GavinFreeborn  Před 5 měsíci +1

      I made it myself github.com/Gavinok/emacs.d/blob/main/lisp%2Fmodeline.el

    • @josueteodoro2342
      @josueteodoro2342 Před 5 měsíci

      @@GavinFreeborn nice! Thank you.

  • @codingreaction7332
    @codingreaction7332 Před rokem

    9:49 Hi Gavin, i don´t understand the command for going to the definition of ´ningle, is that M - . ( alt + periot) ?? Ty

    • @omfgcow
      @omfgcow Před rokem

      yes, M - . then M - , to return

  • @user-zx3vp8mw7d
    @user-zx3vp8mw7d Před 2 měsíci

    i am learning lisp. Do you have any notes/tutorial on how to build non-web simple application. For example- i want to create a package, add calculator class with basic operations.. and make a executable from it. ?

  • @simonced
    @simonced Před rokem

    What a great explanation.
    I am quite new to common lisp, but why is that #:something we see everywhere?
    Also #''functionname was used as well.

    • @GavinFreeborn
      @GavinFreeborn  Před rokem

      There isn't really any difference. There may be an actual distinction for a style guide but they are treated the same by defpackage thing as far as I know.

    • @GavinFreeborn
      @GavinFreeborn  Před rokem

      Quick update. For the #: www.lispworks.com/documentation/HyperSpec/Body/02_dhe.htm is what you are looking for. Can't remember if I explained #'functionname (youtube won't show me) but it's basically saying we are refering to a function and not a variable. I have a video on emacs lisp that explains it. czcams.com/video/NocDm4zzToo/video.html

  • @chocoblan4288
    @chocoblan4288 Před rokem +2

    i love lisp, but my brain doesn't. haha

  • @Aluna123
    @Aluna123 Před 11 měsíci

    I have an error with 12:25 code, I dont know how to put the lambda symbol so write lambda, is this could be the cause of the error?, or have the same effect if I put lambda symbol or not?, thanks for the videos, I was getting a error from slime when I installed so thanks to your video of sly solve that problem

    • @EdouardTavinor
      @EdouardTavinor Před 3 měsíci

      You can just write the word "lambda". I think Gavin has a plug-in for his editor that displays the Greek letter when he writes the word lambda

  • @samieb4712
    @samieb4712 Před 2 lety

    What's this shell program you are using towards the beginning?

    • @GavinFreeborn
      @GavinFreeborn  Před 2 lety

      Are you talking about sly? It's an emacs plugin. The whole demo was done in emacs

    • @winter_light
      @winter_light Před 2 lety

      @@GavinFreeborn But I thought lem was better than emacs. What happened mate?

    • @GavinFreeborn
      @GavinFreeborn  Před 2 lety +1

      @@winter_light never really said that just said I like the project and why I like it. There is still plenty of things lem needs to do to catch up. Still depend on emacs for org mode and sly had stickers which I use extensively.

    • @winter_light
      @winter_light Před 2 lety +1

      @@GavinFreeborn Mate, I just tried to pull your leg. Keep doing the great work as usual and thanks for keeping us motivated.

  • @KoltPenny
    @KoltPenny Před 6 měsíci

    Ironclad refuses to install for some reason :(

  • @trannusaran6164
    @trannusaran6164 Před 2 lety +2

    Thank you for the tutorial, Gavin! Excellent CL content as always :) Just wanted to add something I found out recently that may save you time when writing build.lisp scripts: you can tell asdf to make all lisp systems available in a directory of your choice!
    If you had your systems in a ~/projects dir, just make a file called projects.conf in the directory ~/.config/common-lisp/source-registry.conf.d/ and give it the contents: (:tree "/home/gavinok/projects/")

    • @GavinFreeborn
      @GavinFreeborn  Před 2 lety +1

      Thanks for sharing! I had heard about that before but hadn't actually given it a try. I'll have to add that config some time soon

  • @AhmedShariffGplus
    @AhmedShariffGplus Před 2 lety

    what kind of stuff do you do with lisp? i love lisp, other than emacs, I haven't seen it being used alot. Just curious.

    • @GavinFreeborn
      @GavinFreeborn  Před 2 lety +2

      Personally I consider it good for nearly anything! I recently wrote a basic static site generator in lisp. For my last job I made a web service in lisp. I use lisp to program and control my window manager. I kinda use it for everything! Probably the biggest selling point for using it is how fast you can get a prototype going and start developing core features of an application.

    • @AhmedShariffGplus
      @AhmedShariffGplus Před 2 lety +1

      That's pretty cool to know. I'd love to see how you tackle more problems with lisp both for daily tasks and maybe even professionally.

  • @doofmoney3954
    @doofmoney3954 Před rokem +1

    This just made things more confusing

    • @GavinFreeborn
      @GavinFreeborn  Před rokem

      I'm sorry to hear that. Where did the confusion start? I'd be happy to clarify

  • @NS-bl5nu
    @NS-bl5nu Před rokem

    ; compilation unit aborted
    ; caught 1 fatal ERROR condition
    ; Loading "ningle"
    "SYNTAX" is a package name, so it cannot be a nickname for "CL-SYNTAX".

  • @blakemcbride26
    @blakemcbride26 Před 9 měsíci

    I do not understand your starting point. Your first screen - what is it. It's not bash. It's not emacs. It's not lem. What am I looking at?

    • @GavinFreeborn
      @GavinFreeborn  Před 9 měsíci

      The only screen I can think you are referring to is the directory (shown in emacs's dired)

    • @blakemcbride26
      @blakemcbride26 Před 9 měsíci

      @@GavinFreeborn Wow! I've been using emacs since the '90. Your use of dir-mode is incredible. I'll have to look into that. Thanks!

  • @vaakdemandante8772
    @vaakdemandante8772 Před rokem

    If only the IDE was decent. Using REPL is so frustrating, thank god we don't have to program in LISP with punchcards anymore :/
    I wish there were some tutorial how to use LISP with Visual Studio Code and get all the benefits of modern IDE.
    Ps I've programmed a bit in LISP in the past. It's an awesome language, though I'm not touching it with a 10 foot pole unless I can be productive in it from the get go.

  • @danielarf4409
    @danielarf4409 Před 2 lety

    Why was nobody talking about this deep eyes?

  • @bl1tz533
    @bl1tz533 Před rokem +1

    This sucks bro