CS152: Compiler Design
Fall 2003
[Home]     [General Information]     [Lab Schedule]     [Grading Rules]

General Information
Instructor:
Course Webpage
Office Hours:
Dr. Dhananjay Dhamdhere (dmd@cs.ucr.edu)
http://www.cs.ucr.edu/~dmd/152.html
T 12:00 pm - 1:00 pm, W 4:00 pm - 5:00 pm, Surge 345
TA:
Office Hours:
Lab Sections:
Lan Gao (lgao@cs.ucr.edu)
T 2:30 pm - 3:30 pm, R 5:10 - 6:10 pm, Surge 282
021: M 6:10 pm - 9:00 pm, 022: T 6:10 pm - 9:00 pm
Mailing List:
Online Resource:
Click here to subscribe to cs152 mailing list
Access the UCR Blackboard for announcements etc.

Note: Dhananjay Kulkarni will be your new TA since week 5.


Lab Schedule
Description:
Restriction:
Develop a MiniJava compiler using Flex & Bison
Work in groups of 2 persons
 Week1 (Sep. 29/30)  FLEX Tutorial  Checkpoint #0 (Find a Partner!)
 Week2 (Oct. 6/7)  The MiniJava Scanner
 Week3 (Oct. 13/14)  Bison Tutorial
 Week4 (Oct. 20/21)  The MiniJava Parser
 Week5 (Oct. 27/28)  Symbol Table  Checkpoint #1 (Nov. 2nd, 11:59pm)
 Week6 (Nov. 3/4)  Abstract Syntax Tree
 Week7 (Nov. 10/11)  Interpreter  Checkpoint #2 (ST & AST)
 Week8 (Nov. 17/18)  Code Generator
 Week9 (Nov. 24/25)
 Week10 (Dec. 1/2)  Checkpoint #3 (Your own Compiler!)


Grading Rules
The lab scores are graded as follows:
  1. vision check (for each person):
    Each week in lab, I'll ask questions about certain part of your code, one question for each group member. (You are free to leave after you are graded.)
  2. program check (for each group):
    Every 2-3 weeks, you'll turn in your program electronically (as a group). I'll run several MiniJava programs to test the correctness of your compiler and assign grades accordingly. (No late turn-in will be accepted!)