Scheme language


URLs


Scheme (Wikipedia)

Guile (Wikipedia)


Guile at GNU site:
https://www.gnu.org/software/guile/


Schemers web:
http://www.schemers.org/


Planet scheme:
http://www.scheme.dk/planet/

Learn guile:
https://www.gnu.org/software/guile/learn/

Tortoise tutorial:
https://www.gnu.org/software/guile/docs/guile-tut/tutorial.html


Guile reference manual:
https://www.gnu.org/software/guile/manual/

Mailing lists:
http://savannah.gnu.org/mail/?group=guile



Scheme Ebooks


SICP (Ebook):
Structure and Interpretation of Computer Programs, by Abelson, Sussman, and Sussman

How to Design Programs (HtDP)



Installing guile in Debian


$ sudo aptitude install guile



Run guile


$ guile

> (+ 1 2)
$1 = 3

Quit guile:
> (quit)


Execute a script:
$ guile -s my_script.scm

Execute a script and fall back to guile prompt:
$ guile -l my_script.scm


Load a script from guile prompt:
> (load "my_script.scm")


Hello world script: hello_world.scm
#!/usr/bin/guile -s
!#

(display "hello world")
(newline)


$ ./hello_world.scm

or

$ guile -s hello_world.scm



Scheme Examples


Scheme examples