CS 164: Lecture Notes and Readings

Fall, 2012

Please try to avoid printing lecture notes on printers in the lab. The "2x2" versions below are condensed for efficient printing.

In general, try to complete the "Readings" for a given lecture before the lecture.


--> -->
Lecture Date Subject Slides Readings
#1 Mon, 27 Aug Course Introduction pdf,   2x2 pdf -
#2 Wed, 29 Aug Lexical analysis, regular expressions pdf,   2x2 pdf,
Programs
Notes §2.1–2.5;
Flex manual (as needed)
#3 Wed, 5 Sept
revised 9/9/2011
FSAs pdf,   2x2 pdf Notes §2.6–2.9
#4 Mon, 10 Sept Parsing: Grammars, Derivations, Syntax-Directed Translation pdf,   2x2 pdf,
Calc example
Notes §3.1–3.7
#5 Wed, 12 Sept Parsing: Top-Down parsers pdf,   2x2 pdf Notes §3.8
#6 Mon, 17 Sept Parsing: Earley's algorithm pdf,   2x2 pdf Notes §3.9
#7 {Wed
Notes §3.10
19 Sept}} pdf,   2x2 pdf -
#8 Mon, 24 Sept More bottom-up parsing, Project discussion, syntactic error recovery, practical notes on LR parsing pdf,   2x2 pdf, Examples of Bison diagnostic output -
#9 Wed, 26 Sept More on using LR parsing - -
#10 Mon, 1 Oct Static Semantics: Overview pdf,   2x2 pdf -
#11 Wed, 3 Oct Types pdf,   2x2 pdf,
Prolog examples
-
#12 Mon, 8 Oct Type Inference pdf,   2x2 pdf -
#13 Wed, 10 Oct Test #1 (in class) - -
#14 Mon, 15 Oct Type Inference, contd. - -
#15 Wed, 17 Oct Run-time Organization pdf,   2x2 pdf -
#16 Mon, 22 Oct Run-time Organization, contd. - -
#17 Wed, 24 Oct Exceptions, OOP pdf,   2x2 pdf -
#18 Mon, 29 Oct Exceptions, OOP, contd. - -
#19 Wed, 31 Oct Code Generation pdf,   2x2 pdf -
#20 Mon, 5 Nov Code Generation, contd. pdf,   2x2 pdf -
#21 Wed, 7 Nov Test #2 (in class) - -
#22 Wed, 14 Nov Code Generation: Arrays pdf,   2x2 pdf -
#23 Mon, 19 Nov Optimization pdf,   2x2 pdf -
#24 Wed, 21 Nov Storage Allocation, Garbage Collection pdf,   2x2 pdf -
#25 Mon, 26 Nov Register allocation pdf,   2x2 pdf -
#26 Wed, 28 Nov Pointer Analysis pdf,   2x2 pdf -
#27 Wed, 30 Nov Summary, HKN Survey pdf,   2x2 pdf -

Page was last modified on Tue Nov 13 23:24:17 2012.
Address comments and questions to cs164@eecs.berkeley.edu