CSCI-534 Lisp
Lisp Introduction
What is Lisp?
Definition (Lisp)
Copyright By PowCoder代写 加微信 powcoder
A family of programming languages based on s-expressions.
Data Structure
Introduction
Why study lisp?
Functional Programming:
Planning algorithms often are
functional/recursive
Lisp has good support for functional
programming.
Symbolic Computing:
Planning algorithms must often process
symbolic expressions
Lisp has good support for symbolic processing
Understanding the abstractions in Lisp will make you a better programmer.
Understand Lisp abstractions
S-expressions
First-class functions
(closures)
Implement Lisp programs in functional style
(Review differential calculus and numerical methods)
The symbolic view of programming is different, often useful.
Lots of Irritating Silly Parenthesis?
“LISP has jokingly been described as ‘the most intelligent way to misuse a com- puter’. I think that description a great compliment because it transmits the full flavour of liberation: it has assisted a number of our most gifted fellow humans in thinking previously impossible thoughts.” [emphasis added]
Why use Lisp?
(Why learn something different?)
Programming Environment
Functional Programming:
Planning algorithms often are functional/recursive Lisp has good support for functional programming.
Symbolic Computing:
Planning algorithms must often process symbolic expressions Lisp has good support for symbolic processing