15-312 Principles of Programming Languages

Course Information


Lectures: Tue-Thu 13:30-14:50 4307 GHC Robert Harper
Section A: Wed 11:30-12:20 5302 WeH Danny Gratzer
Section B: Wed 12:30-13:20 5302 WeH Tim Conley
Section C: Wed 04:30-05:20 4101 GHC Mario Dehesa-Azuara
Midterm Exam: Thu Mar 3 13:30 4307 GHC In class, open book
Final Exam: Mon May 9 13:00 WeH 7500 Three hours, open book

Course Staff and Office Hours

Instructor: Robert Harper 9207 GHC Thu 3-4
Secretary: Benjamin Cook 9229 GHC (none)
TA: Danny Gratzer GHC 9006 Thu 6-8
TA: Mario Dehesa-Azuara Citadel Commons 5th Floor GHC Mon 6-7, Thu 3-4:30
TA: Tim Conley Citadel Commons 5th Floor GHC M 1-4, W 1:30-4


This course introduces the fundamental principles of programming language design, semantics, and implementation. For more information on the course philosophy, read Why Study Programming Languages?.

Lecture and Recitation

Please see the schedule of lectures for the lecture topics and links to the readings and assignments.

There will be no lecture on January 21, 2016.

Lecture is a primary source of information in this course, with recitation serving to amplify and reinforce the main concepts in the course. You are strongly urged to attend lecture and recitation every week, and are in any case responsible for the material presented therein.

Recitations are held weekly on Wednesdays. Attendance at recitation will be recorded, and, from time to time, quizzes with recorded grades may be given in recitation. See Grading for how recitation counts towards your grade.


Please see the homework assignments page for more information on submitting homework and for the current assignments.

Homework will account for 50% of your grade in this course.

This semester homework will be submitted via autolab. Students will download the assignment and upload the solutions in the form of a tar file to autolab. In order to create the tar file we will be providing a makefile. Autolab will also validate that submissions contain all the relevant files and compile successfully. Additionally, grades for assignments as well as feedback will be released on to autolab.



There will be a 1.5-hour, in-class, open-book midterm examination on March 3, 2016 that will account for 20% of your grade.


There will be a three-hour, open-book final examination on Monday May 9, 2016 that will account for 30% of your grade.


Homework will account for 50% of your grade, the midterm 20%, and the final 30%. Your final letter grade will be determined in part based on your performance relative to the rest of the class, though we have no pre-determined distribution in mind. We will also consider extra credit on the assignments and participation in recitation and lecture when determining final grades. Extra credit and participation do not count towards your numeric average, but, for example, they might cause a student on the border to receive an A instead of a B (or vice versa!).


Robert Harper, Practical Foundations for Programming Languages (Second Edition). Cambridge University Press, 2016.

(Preview version available online.)


The programming language for this course is Standard ML, using the Standard ML of New Jersey (SML/NJ) implementation.

Please see course software for further information on programming with Standard ML and on using LaTeX for document preparation.

Some useful LaTeX style files and samples may be found in the tex directory.


Post all questions for the teaching staff on the 15-312 Discussion Group on Piazza. Questions may be posted to the teaching staff only, or publically so that the entire class may see them. In most cases it is best to post publically, since then everyone can benefit from the discussion that follows. However, it is not appropriate to post solutions to homework problems publically, for the obvious reasons, so if your question is about your own solution, please post privately to the teaching staff only.

Where to go for help

The Discussion Group is the first place to look for answers to your questions, and to post questions of your own. Piazza allows questions to be posted to the instructors only, if you wish, but you may also post a question publicly so that everyone can see it, and see the answers that are posted.

The second place to look for help is in your recitation section. One purpose of recitation is to clarify the course material presented in lecture and in readings. You should attend your section regularly, and feel free to ask questions!

The third place to look for help is to visit your teaching assistant or the professor during office hours. The course staff are available during these times to help you with homework and answer any questions you may have about the course material.

If all else fails, then you may make a private appointment with either the TA's or the professor simply by sending email and suggesting times to meet.

Academic Integrity

As a condition for taking this course, you are responsible for compliance with the University Policy on Academic Integrity and Plagiarism.

In this course, you are authorized to use the books and notes linked from this Web site, as well as any other sources specifically allowed by the course staff. Any other source is unauthorized.

You are allowed to discuss homework assignments with other students. However, in order to ensure that the work you submit is still your own, we insist that you adhere to a whiteboard policy regarding these discussions: you are not allowed to take any notes, files, or other records away from the discussion. For example, you may work on the homework at the whiteboard with another student, but then you must erase the whiteboard, go home, and write up your solution individually. We take your ability to recreate the solution independently as proof that you understand the work that you submit.

This policy is our attempt to balance the tension between the benefits of group work and the benefits of individual work. We ask that you obey the spirit of the policy, as well as the letter: ensure that all work you submit is your own and that you fully understand the solution. This is in your best interest: the exams constitute a significant part of your final grade, they will be timed, and they will draw heavily on the terminology, concepts, and techniques that are exercised in in the homework. It is unlikely that you will be able to do well on the exams if you do not take full advantage of the learning opportunity afforded by the homework assignments.

No Recording Permitted

No student may record or tape any classroom activity without the express written consent of Prof. Robert Harper. If a student believes that he/she is disabled and needs to record or tape classroom activities, he/she should contact the Office of Disability Resources to request an appropriate accommodation.

Robert Harper
Last modified: Tue Oct 4 21:35:01 EDT 2016

Valid XHTML 1.0!