CS 450/550 Compilers Syllabus – Winter 2007

 

Southern Oregon University

Department of Computer Science

4 credits

 

Instructor Information

 

Instructor:

Pete Nordquist

Phone:

552-6148

E-mail:

nordquip@sou.edu

Office:

CS215

 

 

Office Hours:

MWF 10-11 & 12-1.  If the door is open and I’m there, come on in.

 

 

Website:

www.sou.edu/cs/nordquist/cs450

 

The web site contains lab assignments, class notes, and other useful information.

 

Class Times

 

Monday, Wednesday, Friday (CS 224)                              1-2

Thurs (lab – upstairs CS lab)                                               1-2

 

Course Text

 

Compilers: Principles, Techniques, and Tools

2nd Edition

Aho, Sethi, and Ullman

Addison-Wesley

1986

ISBN: 0-201-10088-6

(This text is an oldie, but a goodie.)

 

Course Description

 

Introduces compiler construction. Students use lex and yacc to build a compiler for a subset of the C language. Topics include grammars, lexical analysis, parsers, parser generators, semantic analysis, code generation, and code optimization.

 

Prerequisites: CS 411, CS 367, CS 275.  (Catalog lists only CS367 and Mth235.)

 

 

 


Course Grading

 

The lab assignments build on one another, so that by the end of the term you will have created a working compiler for a small language.  Lab scores are worth 35% of your total grade.  I will grade your labs by compiling, running, and testing the code you submit.  Labs can receive one of the following grades:

Labs that do not run will receive <= 60%.  In general, lab scores will fall on 5 point boundaries, e.g.,

100 - your lab met all of the requirements.

95 - your lab failed the test for a minor requirement.

90 - your lab failed the test for a major requirement

80 - your lab failed the test for two major requirements

70 - your lab ran, but just barely

<=60 – your lab did not run

If you submit your lab after the due date, but before the due date for the following lab, you will receive a 5% late fee.  I.e., I will grade your lab according to the schedule given above then subtract 5 points.  If you submit your lab more than a week late, but less than two weeks late, you will receive a 10% late fee.  Labs later than two weeks will be accepted only if prior arrangements with the instructor are made.  Please email me.

 

There will be three exams during the term.  Make-up exams will not be given unless arrangements are made in advance, or you had a bona fide emergency on the day of the exam.  Your exam scores are worth 40% of your total grade.

 

A comprehensive final will be given that is based on the exams and the topics covered in class.  The final is worth 25% of your total grade.

 

Graduate students must turn in a paper, worth 5% of your total grade, on a topic related to compilation.

 

If you find you are having trouble with a lab, get sick the day of an exam, or anything else that you think might affect your grade, send me email explaining the problem as soon as you can (the earlier I receive the email, the more likely I am to be lenient).  Email gives us a starting point for discussing a solution and an official timestamp that indicates when you first took action to solve the problem.

 

This course uses blackboard.  The blackboard site is http://courses.sou.edu.

 

 

 

If you are in need of support because of a documented disability (whether it be learning, mobility, psychiatric, health-related, or sensory) you may be eligible for academic or other accommodations through

Disability Services for Students.

 

For Detailed Information, call 541-552-6213 or visit the ACCESS Center in Stevenson Union, lower-level.  The Disability Services website is:

 http://www.sou.edu/access/dss/