4 ms·
Github has several repos, there's one which works for Guile (and Racket for the 2nd lesson), but you can just use Chicken Scheme 5 for all of them. Here are th
by anthk 2mo ago
Github has several repos, there's one which works for Guile (and Racket for the 2nd lesson), but you can just use Chicken Scheme 5 for all of them.
Here are the commands to build the addons needed
for Chicken Scheme 5 and SICP compat. You need gcc,
make and similar tools on your Unix machine.
Install "build-essential" on Ubuntu, Debian and derivatives
will just work.
chicken-install -s srfi 203
chicken-install -s srfi 216
chicken-install -s trace
Then at ~/.csirc
(define
(displaynl x)
(display x)
(newline))
(define pi (* 4 (atan 1.0)))
(import scheme)
(import (srfi 203))
(import (srfi 216))
Displaynl and "pi" are just for convenience.
- mywrathacademia 2mo agoThanks. I’ll look into that. What about SICP solutions that work with MIT Scheme? That’s the implementation of Scheme used in SICP. Also, what are the differences between the major Scheme implementations?