Comparison of four lisp Dialects

Source: Internet
Author: User

If you 've used LIsp in the past, you may have ideas about what "lisp" is that have little to do with Common Lisp. while Common Lisp supplanted most of the dialects It's descended from, It isn' t the only remaining
Lisp dialect, and depending on where and when you were exposed to lisp, you may very well have learned one of these other dialects.

If you used LIsp in the past, you would think that "lisp" has no wool relationship with Common Lisp,

Other than Common LISP, the one general-purpose lisp dialect that still has an active user community is scheme. Common Lisp borrowed a few important features from scheme but never intended to replace it.

Originally designed at M. i. T ., where it was quickly put to use as a teaching language for undergraduate computer science courses, scheme has always been aimed at a different language niche than common lisp.
In particle, scheme's designers have focused on keeping the core language as small and as simple as possible. this has obvious benefits for a teaching language and also for programming language researchers who like to be able to formally prove things about
Ages.

It also has the benefit of making it relatively easy to understand the whole language as specified in the standard. But, it does so at the cost of omitting useful features that are standardized in common
Lisp. Individual scheme implementations may provide these features in implementation-specific ways, but their omission from the standard makes it harder to write portable scheme code than to write portable Common Lisp code.

Scheme also emphasizes a functional programming style and the use of recursion much more than Common Lisp does. If you studied LIsp in college and came away with the impression that it was only an academic
Language with no real-world application, chances are you learned scheme. this isn't to say that's a special fair characterization of scheme, but it's even less applicable to Common LISP, which was expressly designed to be a real-world Engineering Language
Rather than a theoretically "pure" language.

If you 've learned scheme, you shoshould also be aware that a number of subtle differences between scheme and Common Lisp may trip you up. These differences are also the basis for several perenrix religous wars
Between the hotheads in the Common LISP and scheme communities. I'll try to point out some of the more important differences as we go along.

Two other lisp dialects still in widespread use are elisp, the extension language for the emacs editor, and AutoLISP, the extension language for Autodesk's AutoCAD computer-aided design tool. Although it's
Possible more lines of elisp and AutoLISP have been written than of any other dialect of lisp, neither can be used outside their host application, and both are quite old-fashioned lisps compared to either scheme or Common Lisp. if you 've used one of these
Dialects, prepare to hop in the lisp time machine and jump forward several decades.

==================================================== ======================================

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.