Compiler Design

Course Details

Course Number: CMPS 4883  Section Number: 101

Spring 2014

Location: Bolin Hall

Classroom Number: Bolin 103

Days & Times:

TTh 9:30 am

Course Attachments


MSU Faculty Member
Richard P. Simpson   
view Profile »

Course Objectives

This is a course on the construction and design of compilers and interpreters.  We emphasize  Lexical Analysis, Syntax Analysis, Syntax-Directed Translation, intermediate-code generation and code generation.  The main project in this course will use the LL(1) parser generator Coco/R to generate our scanner and parser for a small language.

Course Expectations

Several projects and homework will be given throughout the course including the development of a small compiler.

Grading Standards

There will be three exams and a final.  The three exams will be 30 %  and the final is 20 %.  Compiler Project and related homework 50 %.  Exams will be open book so you will need the textbook.

Final Exam5/6/2014  8:00 am

Submission Format Policy

Your programs are expected to be documented professionally (15% of your grade). This implies that each and every function (or class) be documented as to its purpose, I/O requirements and other interesting features. Include a general program heading at the top of your application that clearly defines the purpose of the program, method of execution, your name and project #. Please use *’s to delineate your comments.

Note: You may not submit a paper for a grade in this class that already has been (or will be) submitted for a grade in another course, unless you obtain the explicit written permission of me and the other instructor involved in advance.

Late Paper Policy

Programs will be accepted late with an appropriate grade loss up until one week before the next due project, 10% per class day.The compiler project will be accepted late up to one week after the due date with a penalty of 5% per day

Plagiarism Policy Plagiarism is the use of someone else's thoughts, words, ideas, or lines of argument in your own work without appropriate documentation (a parenthetical citation at the end and a listing in "Works Cited")-whether you use that material in a quote, paraphrase, or summary. It is a theft of intellectual property and will not be tolerated, whether intentional or not.

Student Honor Creed

As an MSU Student, I pledge not to lie, cheat, steal, or help anyone else do so."

As students at MSU, we recognize that any great society must be composed of empowered, responsible citizens. We also recognize universities play an important role in helping mold these responsible citizens. We believe students themselves play an important part in developing responsible citizenship by maintaining a community where integrity and honorable character are the norm, not the exception. Thus, We, the Students of Midwestern State University, resolve to uphold the honor of the University by affirming our commitment to complete academic honesty. We resolve not only to be honest but also to hold our peers accountable for complete honesty in all university matters. We consider it dishonest to ask for, give, or receive help in examinations or quizzes, to use any unauthorized material in examinations, or to present, as one's own, work or ideas which are not entirely one's own. We recognize that any instructor has the right to expect that all student work is honest, original work. We accept and acknowledge that responsibility for lying, cheating, stealing, plagiarism, and other forms of academic dishonesty fundamentally rests within each individual student. We expect of ourselves academic integrity, personal professionalism, and ethical character. We appreciate steps taken by University officials to protect the honor of the University against any who would disgrace the MSU student body by violating the spirit of this creed. Written and adopted by the 2002-2003 MSU Student Senate.

Students with Disabilities The Americans with Disabilities Act (ADA) is a federal anti-discrimination statute that provides comprehensive civil rights protection for persons with disabilities. Among other things, this legislation requires that all students with disabilities be guaranteed a learning environment that provides for reasonable accommodation of their disabilities. If you believe you have a disability requiring an accommodation, please contact the Disability Support Services in Room 168 of the Clark Student Center, 397-4140.

Safe Zones Statement The professor considers this classroom to be a place where you will be treated with respect as a human being - regardless of gender, race, ethnicity, national origin, religious affiliation, sexual orientation, political beliefs, age, or ability. Additionally, diversity of thought is appreciated and encouraged, provided you can agree to disagree. It is the professor's expectation that ALL students consider the classroom a safe environment.

Contacting your Instructor All instructors in the Department have voicemail in their offices and MWSU e-mail addresses. Make sure you add your instructor's phone number and e-mail address to both email and cell phone lists of contacts.

Attendance Requirements

100% attendance is seriously suggested.

Writing Proficiency Requirement All students seeking a Bachelor's degree from Midwestern State University must satisfy a writing proficiency requirement once they've 1) passed English 1113 and English 1123 and 2) earned 60 hours. You may meet this requirement by passing either the Writing Proficiency Exam or English 2113. Please keep in mind that, once you've earned over 90 hours, you lose the opportunity to take the $25 exam and have no option but to enroll in the three-credit hour course. If you have any questions about the exam, visit the Writing Proficiency Office website at, or call 397-4131.