Configuring Vim for SICP

Alex R. Young
Sep 26, 2014 · 1 min read

Structure and Interpretation of Computer Programs (PDF: sicp.pdf) is a popular book used as an introduction to computer science. It uses MIT Scheme, and covers concepts that are now mainstream concerns, like concurrent programming, functional programming, and lazy evaluation.

In Configuring Vim for SICP, the author explains how to set up Vim and tmux for following along with the book. Racket is recommended as the Scheme interpreter, because the REPL is more friendly than MIT Scheme. There’s also a third-party package to support people reading SICP.

Steve Losh’s tslime.vim fork is recommended for quickly evaluating code by passing it from Vim to tmux and the Scheme interpreter.

When I read SICP a few years ago I used MIT Scheme with rlwrap, so you can try that if you have issues installing Racket. Another option is SICP in Clojure, which would work well with fireplace.vim. It’s still being worked on, and there’s a lot of comment spam, but I’ve always found Clojure a very accessible Lisp dialect.

usevim

A blog about Vim

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store