We are still actively working on the spam issue.

Difference between revisions of "Lisp"

From InstallGentoo Wiki
Jump to: navigation, search
m (Emacs Lisp)
(Emacs Lisp)
Line 11: Line 11:
 
=== Emacs Lisp ===
 
=== Emacs Lisp ===
 
Emacs Lisp (Elisp) is used to program and extend Emacs. Programmers who either use or are interested in using Emacs should learn Elisp.
 
Emacs Lisp (Elisp) is used to program and extend Emacs. Programmers who either use or are interested in using Emacs should learn Elisp.
 +
 +
A very good [https://www.gnu.org/software/emacs/manual/eintr.html tutorial], as well as primary langugage [https://www.gnu.org/software/emacs/manual/html_node/elisp/index.html documentation] for Elisp is available from directly within Emacs.
 +
The introduction can by found by pressing <code>C-h i</code> then typing <code>mEmacs Lisp Intro</code> and pressing <code>Return</code>, and the language documentation can be found by typing <code>mElisp</code> instead.
  
 
=== Scheme ===
 
=== Scheme ===

Revision as of 13:44, 27 April 2014

Lisp is a programming language originally created by John McCarthy in 1958. Despite its age, it is still a popular choice for modern programmers. Lisp has proven itself flexible enough to evolve to meet the needs of modern programmers. Modern implementations often come "batteries-included", meaning that the programmer has access to powerful libraries for databases, regular expressions, networking, and more.

Lisp comes in different dialects, which are divided into different implementations. Three important dialects are Common Lisp, Emacs Lisp, and Scheme.

Dialects

Common Lisp

Common Lisp was designed by Scott Fahlman, Richard P. Gabriel, David Moon, Guy L. Steele, and Dan Weinreb, and is described in CLTL2, as well as the Common Lisp Hyperspec.

Popular implementations include Steel Bank Common Lisp, GNU Clisp, ClozureCL, and ECL.

Emacs Lisp

Emacs Lisp (Elisp) is used to program and extend Emacs. Programmers who either use or are interested in using Emacs should learn Elisp.

A very good tutorial, as well as primary langugage documentation for Elisp is available from directly within Emacs. The introduction can by found by pressing C-h i then typing mEmacs Lisp Intro and pressing Return, and the language documentation can be found by typing mElisp instead.

Scheme

Scheme, created by Guy L. Steele and Gerald Jay Sussman, is the dialect used in SICP.

Three of the most popular implementations are Chicken, GNU Guile, and Racket, all of which include a well-designed C API, and FFI.

Niche Lisps

System scripting
  • newLISP
  • scsh
  • LUSH
CUDA & OpenCL
  • Harlan