Difference between revisions of "Common Lisp"

From copec
Jump to: navigation, search
Line 4: Line 4:
 
== Aspects ==
 
== Aspects ==
 
I would like to continue and divide language paradigms and idioms by aspect with references.
 
I would like to continue and divide language paradigms and idioms by aspect with references.
 +
 +
=== Basic Environment ===
 +
* Emacs installed via package manager
 +
* SBCL installed via package manager
 +
* ~/.emacs.d/init.el
 +
<pre>
 +
(require 'cl)
 +
(require 'package) ;; You might already have this line
 +
(add-to-list 'package-archives
 +
            '("melpa" . "http://melpa.org/packages/") t)
 +
(when (< emacs-major-version 24)
 +
  ;; For important compatibility libraries like cl-lib
 +
  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
 +
(package-initialize) ;; You might already have this line
 +
 +
;; Setup load-path, autoloads and your lisp system
 +
;; Not needed if you install SLIME via MELPA
 +
;;(add-to-list 'load-path "/usr/share/emacs/site-lisp/slime")
 +
(require 'slime-autoloads)
 +
(setq inferior-lisp-program "/usr/bin/sbcl")
 +
 +
(slime-setup '(slime-fancy slime-xref-browser slime-asdf slime-banner slime-repl slime-indentation slime-fuzzy slime-autodoc slime-presentations slime-presentation-streams))
 +
 +
(setq backup-directory-alist `(("." . "~/.saves")))
 +
(setq backup-by-copying t)
 +
</pre>
  
 
== Books ==
 
== Books ==

Revision as of 13:45, 2 August 2016

Overview

At creation time this page is going to serve as the de-facto landing page as well as scratch page for general research around and development in Common Lisp.

Aspects

I would like to continue and divide language paradigms and idioms by aspect with references.

Basic Environment

  • Emacs installed via package manager
  • SBCL installed via package manager
  • ~/.emacs.d/init.el
(require 'cl)
(require 'package) ;; You might already have this line
(add-to-list 'package-archives
             '("melpa" . "http://melpa.org/packages/") t)
(when (< emacs-major-version 24)
  ;; For important compatibility libraries like cl-lib
  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize) ;; You might already have this line

;; Setup load-path, autoloads and your lisp system
;; Not needed if you install SLIME via MELPA
;;(add-to-list 'load-path "/usr/share/emacs/site-lisp/slime")
(require 'slime-autoloads)
(setq inferior-lisp-program "/usr/bin/sbcl")

(slime-setup '(slime-fancy slime-xref-browser slime-asdf slime-banner slime-repl slime-indentation slime-fuzzy slime-autodoc slime-presentations slime-presentation-streams))

(setq backup-directory-alist `(("." . "~/.saves")))
(setq backup-by-copying t)

Books

  • Graham, Paul - ANSI Common Lisp
  • Abelson Sussman - Structure and Interpretation of Computer Programs Second Edition
  • Steele, Guy - Common Lisp the Language Second Edition
  • Seibel, Peter - Practical Common Lisp
  • Norvig, Peter - Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp
  • Graham, Paul - On Lisp
  • Weitz, Edmund - Common Lisp Recipes
  • Burgemeister, Bert - Common Lisp Quick Reference
  • Barski, Conrad - Learn to Program in Lisp, One Game at a Time

Links