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 2009 Announcements
The final will be in Gates B01, on Monday, Dec. 7, at 3:30. The final is
scheduled for 3 hours but we will not use all of that time.
Here is a sample
solution to the midterm.
We will not accept solutions to written assignment 2 that are submitted past 10
AM Wednesday morning since we would like to provide solutions before the midterm. As usual,
if you choose to turn in the assignment later than its due date, you will pay the commensurate late penalty.
Here are two sample midterms from previous offerings of the class,
with solutions: 2006
and 2008
There will be a review session on Friday, 10/16, in Skilling 191 from 9 AM to 9:50 AM. This will be a Q&A session; we will not be solving specific problems.
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.