Welcome to the home page for Computer Science 143 -- Compilers.
Course announcements for CS 143 will be posted on this web page and
announced in class. Be sure to check this page for updates!
Fall 2010 Announcements
The final will be Wed. Dec. 8, 7-9pm (a 2-hour final) in Gates B1 and
Gates B3 (we have both rooms). The exam is closed book, but you may
bring 4 sheets of hand-prepared notes, and it is OK to have material on
both sides. The final is comprehensive, but the emphasis in the final will be on material covered since
the midterm.
Here are sample finals
from 2008 and
2009. Sorry, we do not have
a sample solution for these exams.
Here is a sample
solution to the midterm.
Here are midterms and sample solutions
from 2008
and 2009.
The CS143 final will be Wed., Dec. 8 from 7-10pm. We'll find out
about the location much later in the quarter.
Pre-quarter announcements
-
The prerequisites for the course are CS103 and CS107. From
CS103, you should be familiar with regular expressions, context free
grammars,
graphs, sets, and formal languages. From CS107, you should have
well-developed
programming skills and debugging ability, understand simple code
generation
and function calling conventions, and have some exposure to different
language
paradigms. If you don't quite meet all the pre-reqs but are gung-ho to
pursue the course, plan on working hard on your own to fill in the gaps.
-
There is no required textbook; all relevant materials will be
made available on-line. The bookstore is stocking Compilers:
Principles,
Techniques, and Tools (2nd Edition) by Aho, Sethi, Lam, and Ullman (a.k.a. the "purple
dragon"
book). This is a new edition of the classic compiler text and is a very thorough
and solid treatment of the material. Some
students may find it helpful as a reference or supplemental source.