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

 

2.3 How to Design Programs Teaching Languages

Five of DrScheme’s languages are specifically designed for teaching:

The teaching languages are different from conventional Scheme in a number of ways:

The teaching languages also deviate from traditional Scheme in printing values. Different printing formats can be selected for any language through the detail section of language-selection dialog.

A program in the teaching languages should be tested using the check forms – "(check-expect value value)", "(check-within value value value)", or "(check-error value string)". Tests are evaluated when running the program: when there are no tests, a warning appears in the interactions window; when all tests succeed, an acknowledgement appears in the interactions window; otherwise, a testing window appears to report the results. See View for details on configuring the report behavior.

Tests can be disabled if necessary, see Scheme for details.