A concise tutorial on Lisp

Source: Internet
Author: User

I spent a little time and effort on this tutorial, hoping to help my friends who like Lisp (Common Lisp). I typesetting very bad also hope Toto Haihan.

"Lisp Concise tutorial" PDF format download

"Lisp Concise Tutorial" in the ODT format download

The specific content I have edited well, want to download the friend can use the above link. I have a limited level, if there are omissions also look at the place (if anyone help me arrange the layout is good) also hope to point out. Although the information is I tidy up, but are the wisdom of netizens, if someone needs to reprint, please keep at least the "acknowledgement" page (if I can have better:-)).







A concise tutorial on Lisp















Finishing people: Chaobs

E-mail: chaobs@outlook.com

Blog: www.cnblogs.com/Chaobs

Data main Source: http://www.yiibai.com/lisp/

Version: 0.1.0















Preface



Why the Lisp language is so advanced.

(Excerpt from the "Hacker and Painter" translation)

Translator Original: Http://www.ruanyifeng.com/blog/2010/10/why_lisp_is_superior.html

One

If we put the popular programming languages in this order: Java, Perl, Python, Ruby. You will find that the more the language in the back, the more like Lisp.

Python mimics Lisp and even features that many Lisp hackers think are part of the design error. As for Ruby, if you go back to 1975, you claim that it is a Lisp dialect and no one will oppose it.

The programming language is now developing, but just catching up with the 1958 Lisp language level.

Two

In 1958, John McCarthy designed the Lisp language. I think the current most trendy programming language is just the idea of his 1958.

How is that possible? The development of computer technology is not changing rapidly. The technology of the 1958, how can surpass today's level.

Let me tell you why.

This is because John McCarthy was not intended to design Lisp as a programming language, at least not in our present sense. His intention was only to make a theoretical calculation and to define Turing in a more concise way.

So why the programming language of the 50 's has not gone out of fashion yet. Simply put, because this language is not a technology in nature, but mathematics. Maths is not out of date. You should not associate the Lisp language with the hardware of the 50 's, but rather compare it with the fast sort (Quicksort) algorithm. This algorithm was proposed in 1960 and is still the fastest universal sorting method.

Three

The Fortran language was also in the 50 's, and has been used so far. It represents a completely different direction of language design. Lisp was inadvertently developed from pure theory to programming language, and Fortran was designed as a programming language from the beginning. Today, however, we regard Lisp as a high-level language, and Fortran as a fairly low-grade language.

In the 1956, when Fortran was first born, it was called Fortran I, which differs greatly from today's Fortran language. Fortran I

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.