usevim
Published in

usevim

Configuring Vim for SICP

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.

--

--

--

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
Alex R. Young

Alex R. Young

Software critic.

More from Medium

Run Pi-Hole in localhost and some extras

How quick is QUIC, the protocol?

The 5 w’s of journalism, and why they should be employed against bugs