Syllabus


In Spring quarter 2012, CS143 will be taught using the "flipped classroom" model. Students will watch the lecture material on video, and class time will be spent on working through the homeworks, discussing tools and strategies for the course project, and advanced topics. The course will be hosted on Stanford's portal at Coursera: stanford.coursera.org/compilers.

Lectures are in the NVIDIA Auditorium, TuTh from 11:00am-12:15pm.

This syllabus is unlikely to change during the semester, and the date of the midterm and the due dates of assignments are very unlikely to change.

In addition to the written assignments and programming assignments, there will be weekly electronic assignments. These will generally be assigned on Tuesday and due by the following Tuesday. Key: PA = Programming Assignment, WA = Written Assignment

Date Lecture Videos In Class Assigned Due
4/3 Tuesday 1 Course Overview
4/5 Thursday 2 Cool: The Course Project Cool
4/10 Tuesday 3 Lexical Analysis Flex/JlexPA1
4/12 Thursday 4 Finite Automata HomeworkWA1
4/17 Tuesday 5 Parsing Bison/JCup
4/19 Thursday 6 Top-Down ParsingHomeworkPA2PA1, WA1
4/24 Tuesday 7 Bottom-Up Parsing I Research TalkWA2
4/26 Thursday 8 Bottom-Up Parsing IIHomework
5/1 Tuesday 9 Semantic Analysis and Type Checking Midterm ReviewPA3PA2, WA2
5/3 Thursday In-class Midterm
5/8 Tuesday 10 Cool Type Checking AST Framework
5/10 Thursday 11 Runtime OrganizationHomework
5/15 Tuesday 12 Code Generation Research TalkWA3
5/17 Thursday 13 Operational Semantics HomeworkPA4, OptimizerPA3
5/22 Tuesday 14 Local OptimizationMIPS and SPIMWA3
5/24 Thursday 15 Global Optimization Homework
5/29 Tuesday 16 Register Allocation Research TalkWA4
5/31 Thursday 17 Garbage CollectionHomeworkPA4
6/5 Tuesday 18 JavaFinal Review
6/7 Thursday WA4, Optimizer (optional)
6/8 Friday Final Exam 3:30-5:30pm, location TBD

Students with Documented Disabilities

Stanford requests the following statement be placed on the syllabus:

Students who have a disability which may necessitate an academic accommodation or the use of auxiliary aids and services in a class, must initiate the request with the Student Disability Resource Center (SDRC), located within the Office of Accessible Education (OAE). The SDRC will evaluate the request with required documentation, recommend appropriate accommodations, and prepare a verification letter dated in the current academic term in which the request is being made. Please contact the SDRC as soon as possible; timely notice is needed to arrange for appropriate accommodations. The Office of Accessible Education is located at 563 Salvatierra Walk (phone: 723-1066; TDD: 725-1067).