CS 4410/6410 -- Compilers -*- outline -*- Fall 2026 * Basic information ------------------- Professor: Olin Shivers shivers@ccs.neu.edu Office hours: Wed 1:30-2:30 & by appt WVH room 318 Lectures: Tue/Fri Tue/Fri 3:25-5:05 Robinson 109 Web page: http://www.ccs.neu.edu/course/cs4410 Piazza: https://piazza.com/northeastern/fall2026/cs44106410/home Textbook: Andrew Appel, *Modern Compiler Implementation in ML* NOT textbook: Andrew Appel, *Modern Compiler Implementation in C++* Andrew Appel, *Modern Compiler Implementation in Java* Also useful: *ML for the Working Programmer (2nd edition)*, Larry Paulson -------------------------------------------------------------------------------- * Daily schedule ---------------- 13 weeks / 26 lectures / 9 projects / midterm / exam Note: The lecture schedule is apt to change over time as the course progresses, so consult the on-line version at http://www.ccs.neu.edu/course/cs4410/sched.txt for the up-to-date information. L# Date Lecture topic and due dates -- --------- ---------------------------------- 1 9/11 Fri Class intro / compiler overview [Lexer out] 2 9/15 Tue Regexps & Lexers 3 9/18 Fri Lexers 4 9/22 Tue LL parsing 1 [Lexer in; parser out] 5 9/25 Fri LL parsing 2 6 9/29 Tue LR 1 7 10/2 Fri LR 2 8 10/6 Tue ML-Yacc 9 10/9 Fri Symtabs [Parser in; type-checker out] 10 10/13 Tue Static analysis 1 11 10/16 Fri Static analysis 2 12 10/20 Tue Stacks & proc linkage 1 [type-checker in; frame-analyser out] 13 10/23 Fri Stacks & proc linkage 2 14 10/27 Tue AST->IR 1: exps, bools 15 10/30 Fri AST->IR 2: control [IR-gen also out] 16 11/3 Tue AST->IR 3: compound data 17 11/6 Fri Generating basic blocks 18 11/10 Tue Insn selection [FA & IR-gen in; insn-sel out] 19 11/13 Fri DFA 1: intro, liveness 20 11/17 Tue Register allocation 1 [insn-sel in; DFA out] 21 11/20 Fri Register allocation 2 22 11/24 Tue DFA 2 [DFA in; reg-alloc out] -- 11/27 Fri Thanksgiving Holiday, no class 23 12/1 Tue DFA & loops 24 12/4 Fri GC 1 25 12/8 Tue GC 2 [reg-alloc in; final-asm out] 26 12/11 Fri TBD NOTE: In the schedule above, [ in] on a given day means it's due at midnight that *morning*, not midnight that *night*. In other words, projects are typically due in the night before a class day. This is to avoid having you miss class due to an all-nighter... -------------------------------------------------------------------------------- * Important Fall semester dates ------------------------------- 9/ 9 Wed First day of classes 9/22 Tue Last day of add/drop period 10/12 Mon Indigenous Peoples Day, no classes 11/11 Wed Veterans Day, no classes 11/25 Wed First day of Thanksgiving Holiday 11/30 Mon Fall classes resume 12/13 Sun Last day of classes with final exams 12/13 Sun Last day of withdrawal period 12/14 Mon First day of final exam period 12/20 Sun Last day of final exam period 12/20 Sun Last day of classes without final exams 12/22 Tue Grade submission deadline at 2:00 p.m. ET -------------------------------------------------------------------------------- * Project schedule ------------------ Starts midnight Due midnight Project morning-of (0:00:00) night-of (23:59:59) ----------------------- -------------------- ------------------- 1. Lexer Fri 9/11 Mon 9/21 2. Parser Tue 9/22 Thu 10/8 3. Type checker Fri 10/9 Mon 10/19 4. Frame analyser Tue 10/20 Mon 11/9 5. IR generator Fri 10/30 Mon 11/9 6. Instruction selector Tue 11/10 Mon 11/16 7. Live-variable DFA Tue 11/17 Mon 11/23 8. Register allocation Tue 11/24 Mon 12/7 9. Final assembly Tue 12/8 Mon 12/14