Lisp Tutorial

[ad_1]
Get the Code Here :
Best Free Lisp Book :
Fun Lisp Game Book :

Support me on Patreon :

Install Lisp 00:54
Introduction 02:50
Format 12:09
Math Functions 13:26
Equality 15:11
If 18:13
Case 23:03
When 24:17
Unless 24:52
Cond 25:16
Loop 26:38
DoTimes 28:33
Lists 28:59
Car / Cdr 29:56
Association List 36:35
Functions 38:24
Optional 39:34
Receive Multiple Values 40:18
Key 41:09
Return-From 42:14
Quasi Quoting 42:46
MapCar 44:16
Return Multiple Values 47:16
Higher Order Functions 48:05
Lambda 50:30
Macros 51:20
Classes 56:25
Generic Function 1:00:46
Inheritance 1:05:06
Arrays 1:06:09
Hash Table 1:08:29
Structures 1:10:41
File I/O 1:13:05


Posted

in

by

Tags:

Comments

29 responses to “Lisp Tutorial”

  1. Nicholas Rivera Avatar

    I am weary. My breath is short, and my voice is raspy. I am crawling against the floor with no hope. All I see is black, but then. A shining light appears before me and then I hear. "Well hello internet". The holy arbiter of programming, the LORD himself has come.

  2. Up4lIFe Avatar

    I was watching this tut some months ago and dint understand it at all, though with more experience it all makes SO much sense. Lisp seems really awesome! ( nice tut as always )

  3. dreamyrhodes Avatar

    what an ugly language…

  4. Biswanath Basak Avatar

    @21:18 [line no. 6] The variable Work can never be <=14 AND >=67 at the same time

  5. Ruslan Berebnev Avatar

    Great work! Thank you from Russia!

  6. 沈煜詳 Avatar

    I feel like Scheme / Racket is much cleaner than Common Lisp. Currently learning Racket…

  7. shyam thakur Avatar

    who else hates his .."hello internet"…?

  8. Okily Dokily Avatar

    Can you do a tutorial on Racket? It's much more beginner friendly and it's also very powerful.

  9. Mosaab Aljarih Avatar

    25:20 elf is xD meant else if

  10. Abhinav Sharma Avatar

    Hey, are you planning to do Clojure/ClojureScript tutorial any time soon?

    I really believe that your tutorials genuinely help people get the grasp of a language much faster than a book – Thanks 🙂

  11. Gamer Sparta Avatar

    Dude, how many languages do you know ? It's this language used for AI ?

  12. Whisky Ryan Avatar

    Great video! Thanks for posting the code too.. makes a handy "cheat sheet ". Not sure why this language isn't much more popular. It is so powerful and it seems all these new languages are just reinventing things that lisp has had forever.

  13. Android Taigu Avatar

    make a video on how to program FORTRAN

  14. Felisia Ryukiya Avatar

    Great tutorial love it ;D thank you Derek

  15. T. Z. Avatar

    Hey Derek, Thank you very much for the video!

    I am curious to know how you managed to learn so many programming languages.

    I am a computer Science student in Ireland, and in my first year I have personally managed to only learn Python aside the languages I am learning in College. We are leaning programming with C (in 1st year). We also touched HTML, CSS and JS in one of our modules, glanced on Bash and Batch scripting in our OS Module, and Haskel and Scratch in 2 of our other modules.

    However, we didn't go in much details in some of them.

    I recently started using emacs and as it's build in lisp, I am interested to learn the language so that I can customize it to suit my needs.
    If possible, I could you give few advises, recommendations that could help a programmer become more proficient? any advise, recommendation… is very welcome.

    Thanks in advance.

  16. najm lion Avatar

    The reason why I like watching your videos is that, you don't treat your viewers like complete idiots and elaborate on every single point. You don't waste our time either.

  17. JustSaiyanSteve Avatar

    Interesting, so lisp is basically a bunch of key words to execute things. The way they order the operator and operands reminds me of assembly registers.

  18. Ani H. Avatar

    Some things you should know before you start learning LISP.

    Lisp is case insensitive (Mentioned)
    Lisp is fully functional language … Hence everything is inside parenthesis ().
    LISP uses prefix format … That's why Operators are always placed to the left of the operands …

  19. Ignacio Cortorreal Avatar

    1:05:31 using commas to separate class names in lisp? I don't believe it.

  20. Adam Thompson-Sharpe Avatar

    Is the syntax the same/similar to elisp?

  21. B 0x42h Avatar

    First time looking at Lisp and was thinking (@41:00)… Wait a second… Does that mean that I can….

    (defun sum (&rest nums)
    (format t "Sum = ~a = ~a ~%" nums (setf total (apply '+ nums)))
    )

    (apply 'sum (list (/ 2 4) (/ 1 3) (/ 1 2) (/ 1 6)))

    Output: Sum = (1/2 1/3 1/2 1/6) = 3/2

    Yup… I guess so! That's pretty neat!

  22. William Littlejonhn Avatar

    How do you set up a text editor for windows?

  23. lumor12 Avatar

    Just started looking at lisp and found your video. I'm building some recursive functions for an AI class. Is everything done in lisp, like the loops you mentioned done recursively or do you just call the functions inside of the functions like others languages. Any "recursion" examples would be appreciated if you have to build those differently than how you brought up looping and functions.

  24. Felix Lin Avatar

    Is there going to be a ADA, PASCAL, FORTRAN or COBOL video?

  25. Neil Deshpande Avatar

    Thank you so much for this 🙂

  26. Ducklord Avatar

    It would've been better to use a Lisp interpreter which isn't written by pro-apartheid people.

  27. Leo Mingo Avatar

    Hi, with sbcl I found seemingly a little error at 34 : 33, list counting is 0 indexed that means after the list '(2 4 6) is pushed with 1, it becomes '(1 2 4 6) so (nth 2 nums) actually returns the 3rd element of the list.

    I love your tutorials, they are so brilliant, I have watched a whole bunch of them, really getting inspired. So a million words into one —- Thank you Derek my great teacher 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *