Jump to content

LISP: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''LISP''' (''LISt Processor'') is a list processing language, one of the earliest programming language to feature a garbage collector.  
'''LISP''' (''LISt Processor'') is a list processing language, one of the earliest programming language to feature a garbage collector.


==History==
==History==
It was first described in 1959 with working implementations arriving in the 1960s. Popular in early AI research but is also used as a scripting language in packages such as [[Emacs]], later variants have gained functional programming features and most modern variants have also gotten some object-oriented features, but referring to any LISP variant as an object-oriented or a functional programming language is taking religious fervour a step too far.
It was first described in 1959 with working implementations arriving in the 1960s. Popular in early AI research but is also used as a scripting language in packages such as [[Emacs]], later variants have gained functional programming features and most modern variants have also got some object-oriented features, but referring to any LISP variant as an object-oriented or a functional programming language is taking religious fervour a step too far.


The main problem LISP originally had in gaining any mainstream acceptance as a programming language was simply performance related, while LISP was perfectly acceptable for writing small programs in, large programs could only be done cost effectively after the advent of virtual memory, but that only happened in the late 60s on mainframes, in the 80s for minicomputers and workstations and in the 90s for microcomputers and by that time the LISP world had become so fragmented that it had difficulty maintaining any traction. This also lead a number of companies to release computer systems in the 1970s and 80s that were specifically designed to run LISP.
The main problem LISP originally had in gaining any mainstream acceptance as a programming language was simply performance related, while LISP was perfectly acceptable for writing small programs in, large programs could only be done cost effectively after the advent of virtual memory, but that only happened in the late 60s on mainframes, in the 80s for minicomputers and workstations and in the 90s for microcomputers and by that time the LISP world had become so fragmented that it had difficulty maintaining any traction. This also lead a number of companies to release computer systems in the 1970s and 80s that were specifically designed to run LISP.
Line 9: Line 9:


==OS/2 Implementations==
==OS/2 Implementations==
* [[CLISP]] - Open Source
''Open Source''
* [[Lily]] - Embeddable LISP - Open Source
* [[CLISP]]
* [[newLISP]] - Open Source
* [[Lily]] - Embeddable LISP
* [[RefLisp]] - Open source
* [[newLISP]]
* [[SCM]] - Open source
* [[RefLisp]]
* [[Valutron]] - Open source
* [[SCM]]
* [[xLISP]] - Open Source
* [[Valutron]]
* [[xLISP]]


===Libraries===
===Libraries===
* [[Closer to MOP]] - CLOS/MOP compatibility layer - Open Source
''Open Source''
* [[Closette]] - Meta-object protocol - Open source
* [[Closer to MOP]] - CLOS/MOP compatibility layer
* [[CL-XML]] - [[XML]] parser - Open source
* [[Closette]] - Meta-object protocol
* [[ContextL]] - Context programming extensions for [[CLOS]] - Open Source
* [[CL-XML]] - [[XML]] parser
* [[Portable Common Loops]] - Object oriented abstractions - Open source
* [[ContextL]] - Context programming extensions for [[CLOS]]
* [[Screamer]] - Nondeterministic programming - Open source
* [[Portable Common Loops]] - Object oriented abstractions
* [[Snappy]] - Compression library - Open Source
* [[Screamer]] - Nondeterministic programming
* [[Snappy]] - Compression library


===Foreign libraries with LISP or Scheme bindings===
==Programmer's utilities==
* [[Cairo]] - 2D graphics library (CL + Scheme) - Open source
* [[DTRACE]] - Debug tool
* [[LibcURL]] - Internet URL (WWW, FTP) access (LISP + Scheme) - Open Source
* [[Exuberant ctags]] - Creates index files out of Scheme and LISP source files
* [[Snappy]] - Compression lib. - Open Source
 
===LISP related programmer's utilities===
* [[DTRACE]] - Debug tool - Open source
* [[Exuberant ctags]] - Creates index files out of Scheme and LISP source files - Open source
 
;Editor support
* [[Boxer]] - LISP syntax highlighting support built in - Commercial
* [[Lugaru Epsilon]] - LISP syntax highlighting and auto-indent available as a separate download.


;Source code snippets, archives and collections
;Source code snippets, archives and collections
Small programs or routines that you can integrate into your own programs or study to learn from, but are not delivered in library form.
Small programs or routines that you can integrate into your own programs or study to learn from, but are not delivered in library form.
* [[Artificial flavors]] - Open source
* [[Artificial flavors]]
* [[SDRAW]] - A utility that draws ConsCell structures - Open source
* [[SDRAW]] - A utility that draws ConsCell structures
* [https://sourceforge.net/projects/clocc/files/ CLOCC - Common Lisp Open Code Collection] - Small open source applications.
* [https://github.com/lispgames/lispgames.github.io/wiki LISP games Wiki] - Collection of mainly small LISP games
* [https://github.com/lispgames/lispgames.github.io/wiki LISP games Wiki] - Collection of mainly small LISP games
* [http://www.informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/m-expression/ M-Expressions] - Allows Common Lisp to use syntax like the original 1959 LISP


==DOS Implementations==
==DOS Implementations==
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
*BYSO LISP - Commercial
Commercial:
*[[ECoLisp]] - Open Source
*BYSO LISP
*Expert LISP - Commercial
*Expert LISP
*Intellect-UL LISP
*Intellect-UL LISP
*[[IQLISP]] - Commercial
*[[IQLISP]]
*Le-Lisp - Commercial
*Le-Lisp
*[[Microsoft LISP]] - Commercial
*[[Microsoft LISP]]
*[[muLISP]] - Commercial
*[[muLISP]]
*[[Norell LISP/88]] - Commercial
*[[Norell LISP/88]]
*[https://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/others/franzlsp/pclisp/pclisp30.zip PC-LISP 3.0] - Shareware
*[https://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/others/franzlsp/pclisp/pclisp30.zip PC-LISP 3.0]
*[[RefLisp]] - Open source
*TLC LISP
*[[SCM]] - Open source
*Waltz LISP
*TLC LISP - Commercial
*[[UO-LISP]]
*Waltz LISP - Commercial
Open Source:
*[[UO-LISP]] - Commercial
*[[ECoLisp]]
*[[XLISP]] - Open source
*[[RefLisp]]
*[[SCM]]
*[[XLISP]]
</div>
</div>


====Libraries====
====Libraries====
*[[Closette]] - Meta-object protocol - Open source
Commercial:
*Dblisp - dBase II/II database access for GCL - Commercial
*Dblisp - dBase II/II database access for GCL
*[[Portable Common Loops]] - Object oriented abstractions - Open source
Open source:
*[[Screamer]] - Nondeterministic programming - Open source
*[[Closette]] - Meta-object protocol
*[[SLIB Portable Scheme Library]] - Portable version of Scheme in a library form - Open Source
*[[Portable Common Loops]] - Object oriented abstractions
*[[Screamer]] - Nondeterministic programming
*[[SLIB Portable Scheme Library]] - Portable version of Scheme in a library form


====Closely related languages====
====Closely related languages====
Line 78: Line 73:


;Editor support
;Editor support
* [[Boxer]] - LISP syntax highlighting support built in - Commercial
* [[Boxer]] - LISP syntax highlighting support built in


==Win-OS/2 implementations==
==Win-OS/2 implementations==
*Apteryx Lisp 1.04 - shareware
*Apteryx Lisp 1.04 - shareware
*[[Golden Common-LISP]] - Commercial
*Goldworks - Commercial
*Goldworks - Commercial
*IBM Common Lisp - As front-end only - Commercial
*Le-Lisp (ILOG)
*Le-Lisp (ILOG)
*[[RefLisp]] - Open source
*[[RefLisp]] - Open source
Line 93: Line 86:


==Java Implementations==
==Java Implementations==
* [https://common-lisp.net/project/armedbear/ Armed Bear Common Lisp] - Open Source
* [[CLforJava]] - Open Source
* GNU [http://www.gnu.org/software/kawa/ Kawa Scheme]
* GNU [http://www.gnu.org/software/kawa/ Kawa Scheme]


;Related languages
;Related languages
* [[Clojure]] - Functional language that uses LISP syntax.
* [[Clojure]] - Functional language that uses LISP syntax.
;Editor support
* [[jEdit]] - Java based - LISP and Scheme syntax highlighting built in


==JavaScript Implementations==
==JavaScript Implementations==
Line 113: Line 101:
* John R. Anderson; Albert Corbett; Brian J. Reiser: ''Essential Lisp'' - Addison-Wesley 1986, ISBN 0-201-11148-9
* John R. Anderson; Albert Corbett; Brian J. Reiser: ''Essential Lisp'' - Addison-Wesley 1986, ISBN 0-201-11148-9
* Patrick Henry Winston; Berthold K.P. Horn: ''Lisp'' (Third edition) - Addison-Wesley 1989, ISBN 0-201-08319-1
* Patrick Henry Winston; Berthold K.P. Horn: ''Lisp'' (Third edition) - Addison-Wesley 1989, ISBN 0-201-08319-1
: An older edition of the book is available: [http://www.atarimania.com/documents/LISP.pdf PDF]
: An older edition of the book is available: [//www.atarimania.com/documents/LISP.pdf PDF]
* Harold Abelson, Gerald Jay Sussman and Julie Sussman: [https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-1.html Structure and Interpretation of Computer Programs; Second edition] - 1996 - MIT Press - [http://web.mit.edu/alexmv/6.037/sicp.pdf PDF]
* Harold Abelson, Gerald Jay Sussman and Julie Sussman: ''Structure and Interpretation of Computer Programs''; Second edition - MIT Press 1996 - [//web.mit.edu/alexmv/6.037/sicp.pdf PDF]
* David B. Lamkins: [https://www.psg.com/~dlamkins/sl/cover.html Successful Lisp: How to Understand and Use Common Lisp] - 2004 - Bookfix.com - ISBN 978-3937526003
 
* David S. Touretzky: [https://www.cs.cmu.edu/~dst/LispBook/book.pdf COMMON LISP: A Gentle Introduction to Symbolic Computation] - 1990 - The Benjamin/Cummings Publishing Company - The 1990 edition is a free download in a PDF format - the revised 2013 edition by Dover has ISBN 978-0486498201
* Paul Graham: ''[https://ia700807.us.archive.org/16/items/ost-computer-science-onlisp/onlisp.pdf On LISP]''  - 2006 - Public domain LISP tutorial - Not for beginners.
* Richard P. Gabriel: ''[https://archive.org/details/PerformanceAndEvaluationOfLispSystems Performance And Evaluation Of Lisp Systems]'' - 1985
* Richard P. Gabriel: ''[https://archive.org/details/PerformanceAndEvaluationOfLispSystems Performance And Evaluation Of Lisp Systems]'' - 1985
;CLOS, MOP and PCL
* Gregor Kiczales, Jim des Rivieres, Daniel G. Bobrow: ''The Art of the Metaobject Protocol'' - MIT Press 1991, ISBN 026261074
* Robert R. Kessler, Amy R. Petajan: ''LISP, Objects, and Symbolic Programming'' - Scott Foresman 1988, ISBN 0-673-39773-4


===Articles, talks, presentations and papers===
===Articles, talks, presentations and papers===
Line 137: Line 120:
;Parallel processing
;Parallel processing
* Pascal Costanza: ''[http://medias.ircam.fr/xe5f73b Parallel Programming with Lisp for Performance]'' - Recording of a talk held at the 7th European Lisp Symposium on May 5, 2014, Ircam, Paris, France - presentation ([http://www.european-lisp-symposium.org/editions/2014/costanza.pdf PDF])
* Pascal Costanza: ''[http://medias.ircam.fr/xe5f73b Parallel Programming with Lisp for Performance]'' - Recording of a talk held at the 7th European Lisp Symposium on May 5, 2014, Ircam, Paris, France - presentation ([http://www.european-lisp-symposium.org/editions/2014/costanza.pdf PDF])
* Ron Goldman and Richard P. Gabriel: ''[https://www.dreamsongs.com/Files/hicss.pdf Qlisp: Parallel Processing in Lisp]'' - Originally published in IEEE Software, Volume:6 , Issue: 4, Page 51 ~ 59. ISSN 0740-7459
* Ron Goldman and Richard P. Gabriel: ''[https://www.dreamsongs.com/Files/hicss.pdf Qlisp: Parallel Processing in Lisp]'' - Originally published in IEEE Software, Volume:6, Issue: 4, Page 51 ~ 59. ISSN 0740-7459
* Kinson Ho: ''[http://nma.berkeley.edu/ark:/28722/bk0005n4s2k High-Level Abstractions for Symbolic Parallel Programming (Parallel Lisp Hacking Made Easy)]'' - Originally published in June 1994 as Report No. UCB//CSD-94-816 by the Computer Science Division (EECS) of the University of California.
* Kinson Ho: ''[http://nma.berkeley.edu/ark:/28722/bk0005n4s2k High-Level Abstractions for Symbolic Parallel Programming (Parallel Lisp Hacking Made Easy)]'' - Originally published in June 1994 as Report No. UCB//CSD-94-816 by the Computer Science Division (EECS) of the University of California.
* Joseph Simon Weening: ''[http://www.dtic.mil/dtic/tr/fulltext/u2/a219623.pdf Parallel Execution of Lisp Programs]'' - Thesis originally published in June 1989 by the Department of Computer Science at Stanford University, California.
* Joseph Simon Weening: ''[http://www.dtic.mil/dtic/tr/fulltext/u2/a219623.pdf Parallel Execution of Lisp Programs]'' - Thesis originally published in June 1989 by the Department of Computer Science at Stanford University, California.
* James C. Brodman, Basilio B. Fraguela, María J. Garzarán and David Padua: ''[http://polaris.cs.uiuc.edu/~garzaran/doc/hotpar09.pdf New Abstractions for Data Parallel Programming]'' - Originally published in Proceedings of the First Usenix Workshop on Hot Topics in Parallelism, Usenix Association, 2009
* James C. Brodman, Basilio B. Fraguela, María J. Garzarán and David Padua: ''[http://polaris.cs.uiuc.edu/~garzaran/doc/hotpar09.pdf New Abstractions for Data Parallel Programming]'' - Originally published in Proceedings of the First Usenix Workshop on Hot Topics in Parallelism, Usenix Association, 2009
* Tasuku Hiraishi, Masaru Ueno, Tatsuya Abe, Motoharu Hibino, Takeshi Iwashita and Hiroshi Nakashima: ''[http://super.para.media.kyoto-u.ac.jp/~tasuku/pdfs/ilc2012.pdf Xcrypt on Lisp: A Scripting System for Job Level Parallel Programming in Lisp]'' - 2012
* Tasuku Hiraishi, Masaru Ueno, Tatsuya Abe, Motoharu Hibino, Takeshi Iwashita and Hiroshi Nakashima: ''[http://super.para.media.kyoto-u.ac.jp/~tasuku/pdfs/ilc2012.pdf Xcrypt on Lisp: A Scripting System for Job Level Parallel Programming in Lisp]'' - 2012
* M. D. Feng, W. F. Wong and C. K. Juen: ''[http://www.masters.dgtu.donetsk.ua/2007/fvti/savkov/library/banda.pdf Compiling Parallel LISP for a shared memory multiprocessor]'' - 2007 masters thesis
* M. D. Feng, W. F. Wong and C. K. Juen: ''Compiling Parallel LISP for a shared memory multiprocessor'' - 2007 masters thesis
* Pascal Costanza, Charlotte Herzeel and Theo D’Hondt: ''[http://www.p-cos.net/documents/cstm.pdf Context-oriented Software Transactional Memory in Common Lisp]'' - Originally published in the Proceedings of the Dynamic Languages Symposium 2009, co-located with OOPSLA 2009, Orlando, Florida, USA, October 26, 2009, ACM Digital Library.
* Pascal Costanza, Charlotte Herzeel and Theo D’Hondt: ''[http://www.p-cos.net/documents/cstm.pdf Context-oriented Software Transactional Memory in Common Lisp]'' - Originally published in the Proceedings of the Dynamic Languages Symposium 2009, co-located with OOPSLA 2009, Orlando, Florida, USA, October 26, 2009, ACM Digital Library.
;Introductory articles and mini-tutorials
* John R. Anderson & Brian J. Reiser: [http://www.psychology.nottingham.ac.uk/staff/com/c8clat/resources/TheLISPTutor.pdf The LISP Tutor] - 1985
* Heinrich Taube: [http://people.ace.ed.ac.uk/staff/medward2/class/moz/cm/doc/contrib/lispstyle.html Lisp Style Tips for the Beginner]


==Links==
==Links==
* [http://www.alu.org/alu/home Association of Lisp Users] - Sponsored by Allegro Lisp.
;Tutorials
;Tutorials
* [http://www.mars.cs.unp.ac.za/lisp/ LISP Tutor] - Note the interactive map at the top of the page has incorrect links, use the ones at the bottom of the page.
* [https://alarm.cdm.depaul.edu/lisptutor/ LispTutor Jr.]
* [http://reed.cs.depaul.edu/peterh/Tools/lisptutor.html LispTutor Jr.]
* [//www.p-cos.net/lisp/guide.html Pascal Costanza's Highly Opinionated Guide to Lisp]
* [http://www.p-cos.net/lisp/guide.html Pascal Costanza's Highly Opinionated Guide to Lisp]
* [https://ccrma.stanford.edu/CCRMA/Courses/AlgoComp/cm/doc/contrib/lispstyle.html Lisp Style Tips for the Beginner]


[[Category:Programming Languages]][[Category:LISP]]
[[Category:Programming Languages]][[Category:LISP]]

Latest revision as of 09:34, 29 May 2025

LISP (LISt Processor) is a list processing language, one of the earliest programming language to feature a garbage collector.

History

It was first described in 1959 with working implementations arriving in the 1960s. Popular in early AI research but is also used as a scripting language in packages such as Emacs, later variants have gained functional programming features and most modern variants have also got some object-oriented features, but referring to any LISP variant as an object-oriented or a functional programming language is taking religious fervour a step too far.

The main problem LISP originally had in gaining any mainstream acceptance as a programming language was simply performance related, while LISP was perfectly acceptable for writing small programs in, large programs could only be done cost effectively after the advent of virtual memory, but that only happened in the late 60s on mainframes, in the 80s for minicomputers and workstations and in the 90s for microcomputers and by that time the LISP world had become so fragmented that it had difficulty maintaining any traction. This also lead a number of companies to release computer systems in the 1970s and 80s that were specifically designed to run LISP.

See also: Standard LISP

OS/2 Implementations

Open Source

Libraries

Open Source

Programmer's utilities

Source code snippets, archives and collections

Small programs or routines that you can integrate into your own programs or study to learn from, but are not delivered in library form.

DOS Implementations

Commercial:

Open Source:

Libraries

Commercial:

  • Dblisp - dBase II/II database access for GCL

Open source:

Closely related languages

  • Fjölnir - Open source
Editor support
  • Boxer - LISP syntax highlighting support built in

Win-OS/2 implementations

  • Apteryx Lisp 1.04 - shareware
  • Goldworks - Commercial
  • Le-Lisp (ILOG)
  • RefLisp - Open source
  • SCM - Open source

Libraries

Java Implementations

Related languages
  • Clojure - Functional language that uses LISP syntax.

JavaScript Implementations

Related languages

Publications

Books

  • John R. Anderson; Albert Corbett; Brian J. Reiser: Essential Lisp - Addison-Wesley 1986, ISBN 0-201-11148-9
  • Patrick Henry Winston; Berthold K.P. Horn: Lisp (Third edition) - Addison-Wesley 1989, ISBN 0-201-08319-1
An older edition of the book is available: PDF
  • Harold Abelson, Gerald Jay Sussman and Julie Sussman: Structure and Interpretation of Computer Programs; Second edition - MIT Press 1996 - PDF

Articles, talks, presentations and papers

Slightly misleading title, the talk is more about the package manager ASDF than scripting per se.
  • Pascal Costanza: How to Make Lisp More Special - Originally published in the Proceedings of the International Lisp Conference 2005, Stanford, California, USA, June 19-22, 2005.
  • Richard Barber & George Imlah: Delivering the Goods with Lisp. Communications of the ACM 34(9); pages 61-63 - 1991
CLOS, MOP and PCL
  • BYTE Magazine August 1979 - The LISP issue - Totally outdated by now, but a very interesting read, note that the DJVU version is only 1/20th the size of the PDF version before you download.
Meta-objects
Parallel processing

Links

Tutorials