Jump to content

LISP: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:


==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 26: Line 26:
* [[Portable Common Loops]] - Object oriented abstractions
* [[Portable Common Loops]] - Object oriented abstractions
* [[Screamer]] - Nondeterministic programming
* [[Screamer]] - Nondeterministic programming
* [[Snappy]] - Compression library
===Foreign libraries with LISP or Scheme bindings===
* [[Cairo]] - 2D graphics library (CL + Scheme)
* [[LibcURL]] - Internet URL (WWW, FTP) access (LISP + Scheme)
* [[Snappy]] - Compression library
* [[Snappy]] - Compression library


Line 36: Line 31:
* [[DTRACE]] - Debug tool
* [[DTRACE]] - Debug tool
* [[Exuberant ctags]] - Creates index files out of Scheme and LISP source files
* [[Exuberant ctags]] - Creates index files out of Scheme and LISP source files
;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
Line 95: 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 115: 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]
* 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