This course is about the principles of programming languages. We will study programming language concepts by using them in programs, and by implementing interpreters. By the end of the course, you will have learned about many possible choices in the design of a programming language; this knowledge will be helpful in understanding new languages as you encounter them in your programming future.
The course requires lots of programming, and we assume that you have considerable programming experience already. On occassion, you will be asked to show and explain your code during lecture time.
Programming assignments will typically use Scheme. We use Scheme for three reasons. First, Scheme can express the language concepts that we will study in an especially succinct manner. Second, Scheme is simple enough that you can learn it in a relatively short time. Third, Scheme is flexible enough that we can change the language to to gain experience with different language constructs (including constructs that are not normally part of Scheme).
The course will used the following textbook much of the time:
|Programming Languages: Application and Interpretation (April 26, 2007 version)|
You can obtain a printed and bound copy of the textbook at University Print & Copy Services.
|Course Schedule and Homework|
The course schedule page contains a tentative schedule, which will be revised throughout the semester. Reading assignments, handouts, and notes for each lecture will be posted on the schedule page.
Homework assignments and solutions are also attached to the schedule page. Homework is typically assigned on Fridays, and it is usually due the following Friday at 8:00 AM, but there will be exceptions.
We'll use the DrScheme programming environment, version 371.
Configuration: To submit homework and to run code from the textbook, you must install an extra package for DrScheme:
To install, select Install .plt File... within DrScheme and either provide the above URL or select a downloaded copy from your filesystem. Then restart DrScheme.
After restarting DrScheme, a Handin button will be available for submitting homework assignments. You must create a special handin account, as described for HW 1.
To run code from the book, use DrScheme's Choose Language menu item to change the language to PLAI under Programming Languages: Application and Interpretation. If DrScheme's bottom pane does not say PLAI after clicking Run, then you will be unable to run code from class. In that case, check you language selection and click Run again.
|Grading, Cooperation, and Cheating|
Final grades will be calculated by combining homework and exam grades as follows:
Late policy: Homework submissions will be accepted up to 48 hours after the deadline. For each student, up to two late homework submissons will be accepted without penalty. After a student's first two late submissions, a late submission within 24 hours of the deadline will be penalized 25%. A submission more than 24 hours late but less than 48 hours late will be penalized 50%.
|Last update: Sunday, September 2nd, firstname.lastname@example.org|