Difference between revisions of "Common Lisp"
From copec
Line 8: | Line 8: | ||
* Emacs installed via package manager | * Emacs installed via package manager | ||
* SBCL installed via package manager | * SBCL installed via package manager | ||
− | * <pre> | + | * ~/.emacs.d/init.el: |
+ | <pre> | ||
;; ~/.emacs.d/init.el | ;; ~/.emacs.d/init.el | ||
(require 'cl) | (require 'cl) |
Revision as of 13:46, 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:
;; ~/.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
- LispWorks Common Lisp HyperSpec
- GNU Emacs - An extensible, customizable, free/libre text editor — and more.
- SLIME - Superior Lisp Interaction Mode for Emacs.
- Making a small Lisp project with quickproject and Quicklisp.
- Library manager for Common Lisp.
- Quickproject - Create a Common Lisp project skeleton.