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 Racket. We use Racket for three reasons. First, Racket can express the language concepts that we will study in an especially succinct manner. Second, Racket is simple enough that you can learn it in a relatively short time. Third, Racket 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 Racket).
The course will used the following textbook much of the time:
|Programming Languages: Application and Interpretation, Second Edition|
|Also available as PDF|
As an extra resource, you may want to consult the first edition.
|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 weekly, and it is usually due the following week, but there will be exceptions.
We'll use the DrRacket programming environment, version 6.7 or later.
Install the uu-cs5510 package by using the Install Package... menu item in DrRacket's File menu, and type
in the box.
After restarting DrRacket, a Handin button will be available for submitting homework assignments. You must create a special handin account, as described for HW 0.
Installing cs5510 will automatically install the packages plai-typed, plai-typed-s-exp-match, and plai-lazy.
Announcement from the teaching staff will be posted on Canvas.
To ask questions, either contact the teaching staff through Canvas (preferred) or send e-mail.
|Grading, Cooperation, and Cheating|
Homeworks is graded on the following scale: check++ = 110% for perfect work plus extra credit, check+ = 100% for nearly perfect work, check = 80% for somewhat flawed but acceptable work, check- = 50% for seriously flawed work, and 0 = 0% for missing or completely unacceptable work. All homework assignments are weighted equally.
Exams are graded on a scale of 0 to 100 points.
A final assignment will be similar to a homework assignment, but larger, and the handin process will be a meeting with the instructor. The final assignment serves much the same role as a final exam.
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: Tuesday, January 10th, email@example.com|