CS 291 University of Puget Sound Spring, 2020
 
Programming Language Paradigms:
Explorations with Functional Problem Solving (supported by Scheme/Haskell)
and Declarative Prblem Solving (supported by Prolog)
 

Files for Scheme Programs

Files with Chez Scheme

In the previous lab, you used Chez Scheme for simple processing. Work proceeded by typing expressions directly into a terminal window running ChezScheme. The Scheme environment then evaluated each expression and printed each result. Although this processing produced answers, we had to type all expressions into Scheme every time we wanted those answers. As with your previous programming, a more effective approach is to store programs in a file.

When using a file, the common approach is to use a simple text editor (e.g., TextEdit, emacs, aquamacs, vi, Word Pad, Note Pad) to write Scheme programs.

Once saved, the material can be printed. Further, you can reload commands into the definitions window using the File menu.


created 2 February 1997
revised 18 January 2009
revised November-December 2019
Valid HTML 4.01! Valid CSS!
For more information, please contact Henry M. Walker at walker@cs.grinnell.edu.