University of Wisconsin - Parkside

Department of Computer Science

CSCI 440/ CIS 640 Compiler Design and Implementation

Spring 2007

 

Copy of the syllabus

Instructor: Ubaldo Quevedo

Office Hours: Tuesdays & Thursdays

                        12:30 PM - 2:00PM

                        and by appointment

E-mail: quevedo@uwp.edu

Text: Compiler Construction, by Kenneth Louden

 

In Class Assignments Homework
Lab #1

Lab #2, lab2.y, lab2.flex

Assignment #1 due on 1-30-07

Programming exercise 2.24, page 93 from textbook

test file 1 (48 words, 11 lines, 284 characters without spaces)

test file 2 (96 words, 4 lines, 470 characters without spaces)

Submission guideline: submit your lex input file in D2L as a text file and prepare a demo to execute in the lab on the due date

Project Part I

Assignment #4 due on 4-3-07

(a) Modified exercise 5.18 page 253, get parsing table running Yacc with the -verbose option

(b) trace output using yydebug for the Yacc parser for grammar given in exrcise for input ( )( ), see example on pages238-239

verbose option1

verbose option2

Course Resources:

Check your GRADES in D2L: