Harvey Mudd College
Computer Science 42
Useful Links
Racket
- Setup
- The
DrRacket website (download DrRacket from here)
Note on setting up DrScheme:
When you start DrScheme, you will need to set the
particular language it uses - it will be one of the many "dialects" of
Scheme. Select "Use the language declared in the source".
- A step-by-step Scheme tutorial (also works for
Racket, which is derived from Scheme)
- This
website's tutorial presents the functional core of Scheme
(that we will use) very nicely. The only difference I'd suggest is
using first instead of the arcane car
and rest instead of cdr to
extract portions of lists.
- Example code
- hw1pr2.rkt,
a starting point for Hw1 with suggested example code and comments
- A sampler
of Scheme Expressions and Function Definitions sampler.scm
(by Prof. Keller)
- Tester code
Load this into your program to create tests in plain source code.
(Using the built-in test facility of Dr. Racket is not
recommended, as it will make your source file not readable as text. - Formatting your code!
An example of conscientious scheme style (facFormat.jpg)

- References (references to Scheme should work
equally well for Racket)
HMMM (The Harvey Mudd Miniature Machine assembly language)
Python
Prolog
JFLAP
- JFLAP
(download and documentation)
CS 42 languages we are not currently using
Java
Rex
- rex,
the "king" of languages!
Unix
Accessing knuth.cs.hmc.edu remotely