CS 4304 - Compiler Design (Fall 2007)

Professor: James D. Arthur
Email: arthur@cs.vt.edu
Office: 3160C Torgersen
Office Hours (Fall Semester 2007): TH 10:00 - 11:30 am or by appointment

TA: Ramya Ravichandar
Email: ramyar@vt.edu
Office: 133  McBryde
Office Hours: Tue-Thu 3.00 - 4.00 pm
Recitation class: Wed 6.30-7.30PM McBryde 126

Text: Compiler Construction, Principles and Practice - Kenneth Louden

Syllabus: Click here for the syllabus

Project: 50%
Lexical Analyzer: 16%
Recursive Descent Parser: 17%
Symbol Table & Code Generation: 17%
For every program above:
Internal Documentation, Program Structure and Efficient Algorithms: 25%
Correct Results: 75%
Pop Quiz: 10%
Midterm: 20%
Final Exam: 20%

Course Materials:
PLS Description [PDF] Updated
PLS Conway Diagram [PDF] Updated
Lexical Analyzer FSM [PDF] Updated 
Assignment 2 Solutions [PDF - 500K!]
Program 1 Specifications [PDF]
Submission Guidelines [PDF] Updated 
Program 2 Specifications [PDF]  
Syntax Error Recovery [PDF - 3.73MB] [Zip - 2.99MB]
Input Files for Program 2 [Zip file]

Simulator & 3 Address Code Documentation [PDF]

LR Parser (Scanned image) [JPG - 1MB] New!

Simulator Executable - [1] [2.8MB] Updated
                               [2] [2.8MB] Updated

Sample file with its object code [TAR] New!

Input files for Project 3 [TAR] New!