1 / 36

Introduction to LISP

Introduction to LISP. Based on slides by Milos Hauskrecht. Install CLISP. Go to http://www.gigamonkeys.com/lispbox At the bottom of the page, choose CLISP Download the appropriate package Uncompress the archive Click lispbox OR

patch
Download Presentation

Introduction to LISP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to LISP Based on slides by MilosHauskrecht

  2. Install CLISP • Go to http://www.gigamonkeys.com/lispbox • At the bottom of the page, choose CLISP • Download the appropriate package • Uncompress the archive • Click lispbox OR • Check class homepage for local copies (Windows only)

  3. LISP language

  4. Syntax

  5. Data types

  6. Symbol and value

  7. Lists

  8. Lists

  9. List construction

  10. Lisp copying

  11. Evaluation rules

  12. Useful functions

  13. LISP TutorialProblem-Solving by Searching

  14. Administrative • Room changed to HLTH 2008 • A grader is assigned: ShahramMohrehkesh • Projects will be in groups of 2-3 students • The contributions of each member should be stated clearly in the project report • Members of the same group may receive different grades

  15. Function definition

  16. Function definition

  17. Conditional statement

  18. If statement

  19. Equality

  20. Equality

  21. Nil

  22. Logical operators

  23. Recursion

  24. Recursion

  25. Local and global variables

  26. Local variables 1

  27. Local variables

  28. More on functions

  29. Optional parameters

  30. Array

  31. Iterations

  32. loop

  33. dolist

  34. do

  35. do*

  36. Program call

More Related