Submit Search
Upload
A Little Lisp
•
Download as PPT, PDF
•
6 likes
•
1,362 views
M
melbournepatterns
Follow
Presentation on Lisp given by James Ladd to the Melbourne Patterns group in September 2008
Read less
Read more
Technology
Education
Report
Share
Report
Share
1 of 42
Download now
Recommended
Redesigning Common Lisp
Redesigning Common Lisp
fukamachi
Introduction To Lisp
Introduction To Lisp
kyleburton
Prolog & lisp
Prolog & lisp
Ismail El Gayar
JVM上的实用Lisp方言:Clojure
JVM上的实用Lisp方言:Clojure
Rui Peng
Info penting
Info penting
Rizky Pristiani Stiyaning Arti
Catalogue-FULU MOTOR
Catalogue-FULU MOTOR
圆圆 孟
15 mei 2013
15 mei 2013
Syamsul Arifin
E sky2u.com marketing plan v3.0
E sky2u.com marketing plan v3.0
e-sky, Inc
Recommended
Redesigning Common Lisp
Redesigning Common Lisp
fukamachi
Introduction To Lisp
Introduction To Lisp
kyleburton
Prolog & lisp
Prolog & lisp
Ismail El Gayar
JVM上的实用Lisp方言:Clojure
JVM上的实用Lisp方言:Clojure
Rui Peng
Info penting
Info penting
Rizky Pristiani Stiyaning Arti
Catalogue-FULU MOTOR
Catalogue-FULU MOTOR
圆圆 孟
15 mei 2013
15 mei 2013
Syamsul Arifin
E sky2u.com marketing plan v3.0
E sky2u.com marketing plan v3.0
e-sky, Inc
5 kinesis lightning
5 kinesis lightning
BigDataCamp
Chapter 7
Chapter 7
Salman Javed
Microsoft Wpf Silverlight Comparison Whitepaper V1 1
Microsoft Wpf Silverlight Comparison Whitepaper V1 1
guest91fb2a
TJOLI
TJOLI
M Ismi Pohan
مفهوم الضرر بين الشرع والطب
مفهوم الضرر بين الشرع والطب
Dr Ghaiath Hussein
ijhff
ijhff
fabrizio tessicini
Dorissss
Dorissss
Doris Accostupa CHeccori
فرانز كافكا - الآثار الكاملة - الجزء الأول
فرانز كافكا - الآثار الكاملة - الجزء الأول
A-Ile Self-hallucination
Show me your hands
Show me your hands
Terry Penney
Answers in environmental education @kaye
Answers in environmental education @kaye
Cee Saliendrez
Universal Image Loader: Story, Architecture, FAQ
Universal Image Loader: Story, Architecture, FAQ
Sergey Tarasevich
Visvi
Visvi
dasvis
Apuntes
Apuntes
tumamawey
An Introduction to
An Introduction to
melbournepatterns
State Pattern from GoF
State Pattern from GoF
melbournepatterns
Iterator Pattern
Iterator Pattern
melbournepatterns
Iterator
Iterator
melbournepatterns
Concurrency Patterns
Concurrency Patterns
melbournepatterns
Continuous Integration, Fast Builds and Flot
Continuous Integration, Fast Builds and Flot
melbournepatterns
Command Pattern
Command Pattern
melbournepatterns
Code Contracts API In .Net
Code Contracts API In .Net
melbournepatterns
LINQ/PLINQ
LINQ/PLINQ
melbournepatterns
More Related Content
Viewers also liked
5 kinesis lightning
5 kinesis lightning
BigDataCamp
Chapter 7
Chapter 7
Salman Javed
Microsoft Wpf Silverlight Comparison Whitepaper V1 1
Microsoft Wpf Silverlight Comparison Whitepaper V1 1
guest91fb2a
TJOLI
TJOLI
M Ismi Pohan
مفهوم الضرر بين الشرع والطب
مفهوم الضرر بين الشرع والطب
Dr Ghaiath Hussein
ijhff
ijhff
fabrizio tessicini
Dorissss
Dorissss
Doris Accostupa CHeccori
فرانز كافكا - الآثار الكاملة - الجزء الأول
فرانز كافكا - الآثار الكاملة - الجزء الأول
A-Ile Self-hallucination
Show me your hands
Show me your hands
Terry Penney
Answers in environmental education @kaye
Answers in environmental education @kaye
Cee Saliendrez
Universal Image Loader: Story, Architecture, FAQ
Universal Image Loader: Story, Architecture, FAQ
Sergey Tarasevich
Visvi
Visvi
dasvis
Apuntes
Apuntes
tumamawey
Viewers also liked
(13)
5 kinesis lightning
5 kinesis lightning
Chapter 7
Chapter 7
Microsoft Wpf Silverlight Comparison Whitepaper V1 1
Microsoft Wpf Silverlight Comparison Whitepaper V1 1
TJOLI
TJOLI
مفهوم الضرر بين الشرع والطب
مفهوم الضرر بين الشرع والطب
ijhff
ijhff
Dorissss
Dorissss
فرانز كافكا - الآثار الكاملة - الجزء الأول
فرانز كافكا - الآثار الكاملة - الجزء الأول
Show me your hands
Show me your hands
Answers in environmental education @kaye
Answers in environmental education @kaye
Universal Image Loader: Story, Architecture, FAQ
Universal Image Loader: Story, Architecture, FAQ
Visvi
Visvi
Apuntes
Apuntes
More from melbournepatterns
An Introduction to
An Introduction to
melbournepatterns
State Pattern from GoF
State Pattern from GoF
melbournepatterns
Iterator Pattern
Iterator Pattern
melbournepatterns
Iterator
Iterator
melbournepatterns
Concurrency Patterns
Concurrency Patterns
melbournepatterns
Continuous Integration, Fast Builds and Flot
Continuous Integration, Fast Builds and Flot
melbournepatterns
Command Pattern
Command Pattern
melbournepatterns
Code Contracts API In .Net
Code Contracts API In .Net
melbournepatterns
LINQ/PLINQ
LINQ/PLINQ
melbournepatterns
Gpu Cuda
Gpu Cuda
melbournepatterns
Facade Pattern
Facade Pattern
melbournepatterns
Phani Kumar - Decorator Pattern
Phani Kumar - Decorator Pattern
melbournepatterns
Composite Pattern
Composite Pattern
melbournepatterns
Adapter Design Pattern
Adapter Design Pattern
melbournepatterns
Prototype Design Pattern
Prototype Design Pattern
melbournepatterns
Factory Method Design Pattern
Factory Method Design Pattern
melbournepatterns
Abstract Factory Design Pattern
Abstract Factory Design Pattern
melbournepatterns
State Pattern in Flex
State Pattern in Flex
melbournepatterns
Active Object
Active Object
melbournepatterns
Extract Composite Talk Andy
Extract Composite Talk Andy
melbournepatterns
More from melbournepatterns
(20)
An Introduction to
An Introduction to
State Pattern from GoF
State Pattern from GoF
Iterator Pattern
Iterator Pattern
Iterator
Iterator
Concurrency Patterns
Concurrency Patterns
Continuous Integration, Fast Builds and Flot
Continuous Integration, Fast Builds and Flot
Command Pattern
Command Pattern
Code Contracts API In .Net
Code Contracts API In .Net
LINQ/PLINQ
LINQ/PLINQ
Gpu Cuda
Gpu Cuda
Facade Pattern
Facade Pattern
Phani Kumar - Decorator Pattern
Phani Kumar - Decorator Pattern
Composite Pattern
Composite Pattern
Adapter Design Pattern
Adapter Design Pattern
Prototype Design Pattern
Prototype Design Pattern
Factory Method Design Pattern
Factory Method Design Pattern
Abstract Factory Design Pattern
Abstract Factory Design Pattern
State Pattern in Flex
State Pattern in Flex
Active Object
Active Object
Extract Composite Talk Andy
Extract Composite Talk Andy
Recently uploaded
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Fwdays
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Precisely
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Zilliz
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Slibray Presentation
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Recently uploaded
(20)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
A Little Lisp
1.
(A Little
LISP ) By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia
2.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia WHAT ?
3.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia The greatest single programming language ever designed. — Alan Kay
4.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia John McCarthy Created LISP
5.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia John McCarthy Recursive Functions of Symbolic Expressions and Their Computation by Machine
6.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia John McCarthy In 1958 Created LISP
7.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia LISP <( )=
8.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia In 1958
9.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia 1958
10.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia In 1958
11.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia In 1958 C IBM 704 FORTRAN C AREA OF A TRIANGLE WITH A STANDARD SQUARE ROOT FUNCTION C INPUT - CARD READER UNIT 5, INTEGER INPUT C OUTPUT - LINE PRINTER UNIT 6, REAL OUTPUT C INPUT ERROR DISPLAY ERROR OUTPUT CODE 1 IN JOB CONTROL LISTING READ INPUT TAPE 5, 501, IA, IB, IC 501 FORMAT (3I5) C IA, IB, AND IC MAY NOT BE NEGATIVE C FURTHERMORE, THE SUM OF TWO SIDES OF A TRIANGLE C IS GREATER THAN THE THIRD SIDE, SO WE CHECK FOR THAT, TOO IF (IA) 777, 777, 701 701 IF (IB) 777, 777, 702 702 IF (IC) 777, 777, 703 703 IF (IA+IB-IC) 777,777,704 704 IF (IA+IC-IB) 777,777,705 705 IF (IB+IC-IA) 777,777,799 777 STOP 1 C USING HERON'S FORMULA WE CALCULATE THE C AREA OF THE TRIANGLE 799 S = FLOATF (IA + IB + IC) / 2.0 AREA = SQRT( S * (S - FLOATF(IA)) * (S - FLOATF(IB)) * + (S - FLOATF(IC))) WRITE OUTPUT TAPE 6, 601, IA, IB, IC, AREA 601 FORMAT (4H A= ,I5,5H B= ,I5,5H C= ,I5,8H AREA= ,F10.2, + 13H SQUARE UNITS) STOP END
12.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia Created LISP as mathematical notation for computer programs
13.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia Based on Lambda Calculus
14.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia Lambda Calculus the function f(x, y) = x - y would be written as λ x. λ y. x - y.
15.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia
16.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia List Processing Language (FOO (BAR 1) 2)
17.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia LISP pioneered: Tree Data Structures Automatic Storage Management Dynamic Typing Object Oriented Programming
18.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia LISP pioneered: Self-hosting Compiler !!
19.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia LISP = Pure Functional Language
20.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia FIFTY YEARS AGO
21.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia Functional Programs Are: Stateless Deal only with Functions No side effects in 'state' Functions can return Functions
22.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (print "Hello world")
23.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (defun factorial (n) (if (<= n 1) 1 (* n (factorial (- n 1)))))
24.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (dotimes (i 10) (format t "~A~%" (+ 1 i)))
25.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia LISP is a series of expressions foo () (foo) (foo bar) (a b (c) d)
26.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia A LISP expression Atom or a list of zero or more expressions, separated by whitespace and enclosed in ().
27.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia F oo = atom () = empty list (foo) = list of one atom (foo bar) = list of two atoms (a b (c) d) = list of 4 elements, the 3 rd one is itself a list.
28.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia > (+ 1 2) 3 >
29.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia > (+ 1 (- 10 5)) 6 >
30.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (quote x ) returns x >(quote a) a >'a a >(quote (+ 1 2)) (+ 1 2)
31.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (atom x ) returns t if x is an atom, otherwise () >(atom 'a) t >(atom '(a b c)) ()
32.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (eq x y ) returns t if x and y are same atom or both (), otherwise () >(eq 'a 'a) >(eq '() '()) t t >(eq 'a 'b) ()
33.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (car x ) returns first element of value of x >(car '(a b c)) a >(car '('(foo) bar baz)) (foo)
34.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (cdr x ) returns everything after the first element of value of x >(cdr '(a b c)) (b c) >(cdr '('(foo) bar baz)) (bar baz)
35.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (cons x y ) returns a list containing value of x followed by value of y >(cons 'a '(b c)) (a b c) >(car (cons 'a '(b c))) (b c)
36.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia
37.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (cond ( p1 e1 )...( p n e n )) The p expressions are evaluated in order until one returns t . When one is found, the value of the corresponding e expression is returned as the value of the whole cond expression.
38.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (cond ( p1 e1 )...( p n e n )) >(cond ((eq 'a 'b) 'first) ((atom 'a) 'second)) second
39.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia (cond ( p1 e1 )...( p n e n )) (cond ( x y ) ('t z )) is equivalent to if x then y else z
40.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia Recommended Reading The Little Lisper ANSI Common Lisp
41.
A Little LISP,
By James Ladd http://www.jamesladdcode.com with portions from The Roots Of Lisp, by Paul Graham All images © iStockPhoto or Wikipedia Some real code ...
42.
Download now