1 Interface Essentials
2 Languages
3 Interface Reference
4 Extending Dr Scheme
Version: 4.0.2


1 Interface Essentials

The DrScheme window has three parts: a row of buttons at the top, two editing panels in the middle, and a status line at the bottom.

The top editing panel, called the definitions window, is for defining programs. The above figure shows a program that defines the function square.

The bottom panel, called the interactions window, is for evaluating Scheme expressions interactively. The Language line in the interactions window indicates which primitives are available in the definitions and interactions windows. In the above figure, the language is Module.

The interactions window is described further in The Interactions Window, later in this manual.

Clicking the Run button evaluates the program in the definitions window, making the program’s definitions available in the interactions window. Given the definition of square as in the figure above, typing (square 2) in the interactions window produces the result 4.

The status line at the bottom of DrScheme’s window provides information about the current line and position of the editing caret, whether the current file can be modified, and whether DrScheme is currently evaluating any expression. The recycling icon flashes while DrScheme is “recycling” internal resources, such as memory.

    1.1 Buttons

    1.2 Choosing a Language

    1.3 The Editor

      1.3.1 Tabbed Editing

    1.4 The Interactions Window

      1.4.1 Errors

      1.4.2 Input and Output

    1.5 Graphical Syntax

      1.5.1 Images

      1.5.2 XML Boxes and Scheme Boxes

    1.6 Graphical Debugging Interface

      1.6.1 Debugger Buttons

      1.6.2 Definitions Window Actions

      1.6.3 Stack View Pane

      1.6.4 Debugging Multiple Files

    1.7 Creating Executables