LISP: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{stub}}

Please add comments about the LISP programming language as being appropriate for OLPC development.
Please add comments about the LISP programming language as being appropriate for OLPC development.


Line 13: Line 11:
yum install emacs
yum install emacs
wget http://common-lisp.net/project/slime/slime-2.0.tgz
wget http://common-lisp.net/project/slime/slime-2.0.tgz
tar xvz slime-2.0.tgx
tar xvzf slime-2.0.tgz

.... to be completed
Start emacs via
emacs -nw

Edit ~/.emacs to include:
(add-to-list 'load-path""~/slime-2.0/")
(require 'slime)
(setq inferior-lisp-program "/usr/bin/sbcl")
(slime-setup)

Then
M-x slime
will give you a Lisp listener






Revision as of 15:39, 21 May 2008

Please add comments about the LISP programming language as being appropriate for OLPC development.

Steel Bank Common Lisp is available by typing (in the Terminal activity):

su
yum install sbcl

(found here).

You also probably want Emacs and Slime. The combo of Emacs, Slime, and SBCL makes a pretty decent Lisp environment, although it is not yet clear what you can do with it.

su
yum install emacs
wget http://common-lisp.net/project/slime/slime-2.0.tgz
tar xvzf slime-2.0.tgz

Start emacs via

emacs -nw

Edit ~/.emacs to include:

(add-to-list 'load-path""~/slime-2.0/")
(require 'slime)
(setq inferior-lisp-program "/usr/bin/sbcl")
(slime-setup)

Then

M-x slime

will give you a Lisp listener


This package may make it possible to access Python libraries from Lisp.

These packages allow access to GTK bindings from Lisp.

DrScheme Scheme (Lisp) is available here.

Whether or not LISP is appropriate for children is up to both the teachers and the children.


See also: Scheme