(scheme 0 "安装scheme环境")

一、guile

安装guile,guile参见http://www.ibm.com/developerworks/cn/linux/l-guile/

sudo apt-get install guile-2.0

执行命令guile,进入guile>提示符状态,输入:

➜  ~  guile

GNU Guile 2.0.5-deb+1-1

Copyright (C) 1995-2012 Free Software Foundation, Inc.



Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.

This program is free software, and you are welcome to redistribute it

under certain conditions; type `,show c' for details.



Enter `,help' for help.

scheme@(guile-user)> (display "Hello, Congbo!")

Hello, Congbo!scheme@(guile-user)> 

guile不支持方向键,试用DrRacket。

 

二、DrRacket

DrRacket 安装方法一:

➜  ~  sudo apt-get install plt-scheme (或racket)~  drracket

ffi-lib: couldn't open "libjpeg.so.62" (libjpeg.so.62: cannot open shared object file: No such file or directory)

~  sudo apt-get install libjpeg62

 

(scheme 0 "安装scheme环境")

 

DrRacket 安装方法二:

DrRacket下载地址:http://racket-lang.org/

➜ ~ chmod 744 racket-5.3-bin-x86_64-linux-debian-squeeze.sh~ sudo ./racket-5.3-bin-x86_64-linux-debian-squeeze.sh

 

DrRacket的使用及scheme示例见:http://article.yeeyan.org/view/67953/111796,很清楚明白。

 

参考:

http://article.yeeyan.org/view/67953/111796

http://www.schemers.org/

http://racket-lang.org/

 

原文:http://www.cnblogs.com/congbo/archive/2012/08/21/2649379.html

你可能感兴趣的:(Scheme)