CS558 Programming Languages Fall 2025

Instructor: Andrew Tolmach

Course Information

Exams

Schedule

Subject to change!

Date Lab Due Reading Lecture Topics Self-study
Sep 30 Scott 1 Introduction; High-level vs. low-level languages; Stack machines (pdf) (recording) questions answers
Oct 2 Scott 2.1,6.1 Concrete and abstract syntax; Grammars; Expressions (pdf) (recording) questions answers
Oct 7 Lab 1 Scott 6.2-5 Imperative languages; Structured programming (pdf) (recording) questions answers
Oct 9 Gordon, pp. 7-27 Semantics; Axiomatic semantics (pdf) (recording) questions answers
Oct 14 Lab 2 Scott 3.1-3,3.5 Binding; Scope (pdf) (recording) questions answers
Oct 16 (none) Memory; Large values; Equality (pdf) (recording) questions answers
Oct 21 Lab 3 Winskel 2.1-5 Operational Semantics (pdf [revised 10/21/25 12:30pm; 10/28/25 3:10pm]) (recording) questions answers
Oct 23 Scott 9.1-3, 6.6 Procedures and the stack; Calling Conventions (pdf) (recording) questions answers
Oct 28 Lab 4 (sample midterm questions) Review for Midterm (recording) questions answers
Oct 30 Midterm Exam -- in class
Nov 4 (none) Recursion (pdf) (recording) questions answers
Nov 6 Scott 3.6-7, Scott 11 Functional programming; First-class functions (pdf) (recording) (additional lecture recording on folds) questions answers
Nov 11 Lab 5 Veterans Day - no class - recorded lecture Closures; Continuations (pdf) (recording - ignore empty first of "Total 2 recordings") questions answers
Nov 13 Scott 7 Type systems; Type checking; Type equivalence (pdf) (recording) questions answers
Nov 18 Lab 6 (none) Polymorphism; Type inference (pdf) (handout with slide 8 method details) (recording) questions answers
Nov 20 Scott 8 Composite types (pdf) TypesInHaskell.hs TypesInHaskell_with_solutions.hs (recording) questions answers
Nov 25 Lab 7 (none) Modules; Abstract data types (pdf) (recording) (no study questions)
Nov 27 Thankgiving Holiday - no class
Dec 2 Scott 10 Object-oriented languages (pdf) (recording) questions answers
Dec 4 Lab 8 (sample final questions) Review and catch-up (recording) questions answers
Dec 11 Final exam 3:40pm-5:30pm

Books

Additional Required Reading

Scala Language Resources

We will be using Scala 3.3.4 in the labs for this course. The latest version of Scala 3 is 3.7.3; this will probably also work OK, but it is safest to stick to 3.3.4 to make sure programs behave the same way for everyone. Scala 2 is a significantly different language, which you should not try to use for this course; be careful when googling!