1 / 8

Presentation topic : LISP

Presentation topic : LISP. Amir Shahzad MCS 3 MCC07123008 . LISP (List processing ). The use of parentheses is Lisp's difference from other programming language families. As a result, students have long given Lisp nicknames such as Lost In Stupid Parentheses. SBCL.

charla
Télécharger la présentation

Presentation topic : 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. Presentation topic :LISP Amir Shahzad MCS 3 MCC07123008

  2. LISP (List processing ) • The use of parentheses is Lisp's difference from other programming language families. As a result, students have long given Lisp nicknames such as Lost In Stupid Parentheses

  3. SBCL • Steel Bank Common Lisp is a free Common Lisp implementation that features a high performance native compiler, Unicode support and threading.

  4. LISP • Lisp is the second-oldest high-level programming language in widespread use today. • Lisp was originally created as a practical mathematical notation for computer programs,  • Lisp pioneered many ideas in computer science, including tree data structures,  higher-order functions, recursion, and the self-hosting compiler

  5. Connection to artificial intelligence • Lisp was closely connected with the artificial intelligence research community, especially on PDP (product development process ) systems. Lisp was used as the implementation of the programming language Micro Planner which was used in the famous AI system SHRDLU.

  6. Advantages of LISP • Common Lisp is  • a general-purpose programming language and an AI language • interactive  • Common Lisp programs are  • easy to test (interactive)  • easy to maintain (depending on programming style)  • portable across hardware/OS platforms and implementations (there is a standard for the language and the library functions) 

  7. Common Lisp provides  • clear syntax, carefully designed semantics  • several data types: numbers, strings, arrays, lists, characters, symbols, structures, streams etc.  • many generic functions: 88 arithmetic functions for all kinds of numbers (integers, ratios, floating point numbers, complex numbers), automatic memory management (garbage collection)  • packaging of programs into modules  • macros: every programmer can make his own language extensions 

  8. Operators • Arithmetic operators are treated similarly. The expression • evaluates to 10. The equivalent under infix notation would be (+ 1234) •  "1 + 2 + 3 + 4"

More Related