LISP: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
m (xref to logo)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Summary: You can run a full-blown Lisp on the laptop, but we haven't yet hooked it into the graphics and other capabilities of the system.
{{stub}}


[http://www.sbcl.org/ Steel Bank Common Lisp] is available by typing (in the Terminal activity):
Please add comments about the LISP programming language as being appropriate for OLPC development.
su
yum install sbcl


[http://www.sbcl.org/ Steel Bank Common Lisp] is available via "yum install sbcl" (found [http://bc.tech.coop/blog/080111.html here]).
(found [http://bc.tech.coop/blog/080111.html here]).

You also probably want [[Emacs]] and [http://www.cliki.net/SLIME 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
exit
wget <nowiki>http://common-lisp.net/project/slime/slime-2.0.tgz</nowiki>
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



[http://common-lisp.net/project/python-on-lisp/ This package] may make it possible to access Python libraries from Lisp.

[http://www.cliki.net/GTK%20binding These packages] allow access to GTK bindings from Lisp.


[http://www.drscheme.org/ DrScheme] Scheme (Lisp) is available [http://www.wisdomandwonder.com/article/28/scheme-lisp-on-the-olpc-xo here].
[http://www.drscheme.org/ DrScheme] Scheme (Lisp) is available [http://www.wisdomandwonder.com/article/28/scheme-lisp-on-the-olpc-xo here].
Line 9: Line 37:
Whether or not LISP is appropriate for children is up to both the teachers and the children.
Whether or not LISP is appropriate for children is up to both the teachers and the children.


[http://lambda-the-ultimate.org/node/2468#comment-38435 Theoretically], it should be possible to install a standard Lisp implementation.


:''See also: [[Scheme]]''
== See also ==
*[[Scheme]]
*[[LOGO]]



[[Category:Programming language]]
[[Category:Programming language]]

Latest revision as of 13:29, 24 July 2008

Summary: You can run a full-blown Lisp on the laptop, but we haven't yet hooked it into the graphics and other capabilities of the system.

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
exit
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