CS301 - Programming Languages Labs

Problem sets are assigned approximately weekly. They will probably take you from three to twelve hours to do; the lab sessions are intended to get you started on them, but it will be rare for everyone to finish in the allotted lab session time.

When an assignment has a programming component (most do) you must supply test cases, which must be implemented as specified in each assignment. Even if you haven't been able to implement a solution to your satisfaction, it's to your advantage to hand in a full set of test cases for it.

Remember: the programming assignments for this course are approximately 95% thinking and 5% programming!

Procedures

For most assignments you'll need to run the interpreters for R&K's micro-languages. The interpreters can be found in ~gexia/public/CS301/software/bin/. They should run on either our 64-bit Linux servers or on most recent 32-bit Linux workstations. If you have trouble running them, see me or send email immediately. To run an interpreter, for example an interpreter of impcore, you can enter the full path name explicitly, like this:

~gexia/public/CS301/software/bin/impcore    
Or put the directory in your PATH.

Unless otherwise directed, you should keep all the programs for each assignment in one directory.

To hand in your assignments, create a tar file and email it to me. Be careful when creating the tar file, because erroronous tar command may erase your files.


Adapted from Penny Anderson.