Casual SICP

  • Practice with SICP. Let's create a compiler and interpreter.
  • Why casual? -> Since I don't want to guarantee solving every practice.

Textbook

Installation

brew install gauche
git clone git@github.com:shirok/Gauche-compat-sicp.git
cd Gauche-compat-sicp
./configure
make install
brew install rlwrap

Run

  • Run code: gosh filename.scm
    • Note: Add (use compat.sicp) at the first line of each file
  • REPL: rlwrap gosh

Note

  • The REPL above doesn't recognize nil. Use '() instead.