How to make a transcript for Homework 1 if you aren't on the Com S machines. (If you are, follow the directions given in the homework.) THE EASY WAY 1. edit your files at home. 2. transfer your files to ISU to do testing and make transcripts. 3. (optional) transfer your files and transcripts back home to do printing. THE HARD WAY Note: WE WON'T SPEND MUCH, IF ANY TIME HELPING YOU DO THIS. There are too many variations in systems to worry about. So you'll be pretty much on your own if you want to do this. If you want, you can run Scheme on a home computer. It's fine with us, although it will become increasingly difficult when we start using records. However, there are free Scheme interpreters available, see $PUB/docs/running-scheme.txt for details. Get one of these; it would be best to use the SCM interpreter. Then, here's what to do... 0. This step has to be done only once. Once you get this setup working, it will work for the entire semester (probably :-). You will need to get a copy of various files in $PUB/lib for running our test suites. These files are: eopl.scm load-from-lib.scm displayln.scm writeln.scm test-homework.scm If you are using the SCM interpreter, also get the file scmmacros.scm If you are not using SCM at home, then you will probably have trouble with stuff later in the course, but you might get some other version of the macros for records (which you won't need on this homework) to work. When the time comes, look in $PUB/eopl/README for help... but don't count on it working. For now, when you get your copy of eopl.scm, comment out the line that loads scmmacros.scm. You'll need to edit the file eopl.scm to give it the absolute path name to the file load-from-lib.scm. (On DOS, use \\ for each backslash in a directory name...) You'll also need to edit the file load-from-lib.scm Decide on where you're going to keep the course "library" files, and edit the definition of libdir in load-from-lib.scm appropriately. (On DOS, use \\ for each backslash in a directory name...) You also need to edit test-homework.scm if you're not using SCM and SLIB. Take out, or comment out the line (require 'pretty-print) which is near the top of the file, and replace it suitably. It might just work if your Scheme has a pretty-printer (it might be called something like pp...) Otherwise, if your Scheme has no pretty printer, use (define pretty-print writeln) or write your own. You might want to create a progam (batch or command file) that is called scm342, which you can call. Have your scheme load the file eopl.scm automatically (however you do that in your scheme, in SCM give it the absolute path name on the command line.) If you can't do that, assuming your eopl.scm file is in c:\lib342, type (load "c:\\lib342\\eopl.scm") when you start your Scheme running. 1. This step will be similar for each homework. To test a specific homework problem, you'll need to get the appropriate files from the directory /home/cs342/public/homework/hw1.tst on your computer. You will also need to update these whenever we make changes (as noted in email or in the newsgroup). It will be your responsibility to get current copies. 2. Then test as normal, you can print your files and transcripts at home, or transfer them to ISU if you prefer to print there.