...
If this is the first time you've run DrRacket, it will ask you your preferred language, and the Scheme language level; the latter should be "Beginning Student with List Abbreviations". This language level provides the expected set of primitive operations and enables DrRacket to reject "legal" Scheme constructions that are not part of our introductory dialect. Read the DrRacket Tips and Traps page for helpful information on common mistakes, error messages, etc.
...
The DrRacket window is divided into two halves. The lower half, or interaction window, is the Scheme "calculator". The top half, or definition window is just a text editor which is smart about indenting Scheme, and such. The execute button sends the contents of the definition window down to the interaction window, where they are actually evaluated.
...
DrRacket has lots of other features, including a complete manual. We'll explore more of DrRacket in later labs, and we encourage you to explore, but there's no need to learn all its features. Read the DrScheme Tips and Traps page for helpful information on common mistakes, error messages, etc.
Enabling Linux to open .ss files with DrRacket:
- Right-click any .ss file and select "Properties".
- Switch to the "Open With" tab. If DrRacket already appears as a choice, be sure that it is selected, otherwise
- Click the "Add" button.
- In the dialog box that appears, scroll down and select "DrRacket" and click "Add".
- DrRacket should now appear on the list of available programs. Be sure that the radio button for DrRcket is selected.
- Click "Close".
- Double-clicking any .ss file will now open it with DrRacket. You will need to run it once to get the Interactions window to appear or click "Show Interactions Window" from the "View" menu.
...
Step-by-step Evaluation
While DrRacket evaluates our Scheme programs for us, it is also important for us to understand the process of evaluation. The details of evaluation will be covered in class. Here in lab, we want to explore two useful tools to help us:
...