CST 320 Compiler Methods
Winter 2010
Instructor:   Dr. Sherry Yang


 What's New

-  
Test #2 on Friday, March 5th
    For this test, you should know:
    -- LL(1) parsers
    -- Lex & Yacc
-  New due date for Lab#4


 


Tentative Course Schedule
 
Lectures, Handouts and Assignments
Week 1 
 
Syllabus

Optional Reading:  Chapters 1, 2, & 8 (Parsons book)

Week 2
 
Notes:  Introduction to Translators
Notes:  Lexical Analyzer

Lab #1Due Tuesday, Jan. 19 (Lexical Analyzer and Preprocessor)
Lab#1 Check-Off List

HW#1Due Monday, Jan. 11


Optional Reading:  Chapter 3

Notes:  Grammar Transformations
Notes:  Top-Down Parsers

Week 3
 
NO Class on Monday (Holiday)

HW#2Due Thursday, Jan. 21 (please bring it to lab)

C Minus Grammar Example

Lab#1 Check-off in Lab this week
Week 4
 
Lecture:  LL(1) parsers

HW#3: Due Monday, Jan. 25

 Lab# 2 (Due Monday, Feb. 1)
Lab#2 Check-Off List

Some Slides on STL Map
A sample LL(1) header file

Week 5
 
Lecture:  Lex and Yacc
Lecture:  Lex and Yacc2

Optional Reading:  Chapter 4

Week 6
 

HW#4: Due Friday, Feb. 12

Lab# 3 (Due Wednesday, Feb. 17th)
Lab#3 Check-Off List

Download Pargen Software for Lab4

 README for Pargen/Lab4 stuff

Misc. Lex/Yacc Files (mostly written in C)

Week 7
 

 Lab# 4 (Due Monday, March 1)  Don't have check-of for Lab4, but please include sample iput and output files in your submission

Week 8 
 
Lecture: Semantic Analysis
Week 9
 

Project: DUE on Thursday, Mar. 11th 
Project Check-Off List


Test #2 on Friday, March 5th

Week 10
 
Project check-off schedule . (No Late Projects accepted).  Thursday, Mar. 11th during lab
Friday, Mar. 12th from 11am to 2pm


Optional Make-Up Final (Available at CFLAT from March  8-11)
Finals Week
 


Created by: Dr. Sherry Yang, sherry.yang@oit.edu.