Language Translaters and Interpreters

Course Details

Course Number
Section Number
Fall 2017
Bolin Hall
Classroom Number
Days & Times

T R 11-12:20pm

Dr. Catherine V. Stringfellow (view Profile)


Compiler Construction: Principles and Practice

Course Objectives

Catalog Description: A study of context-free and LR(k) grammars, parsing, lexical analysis, syntax and semantics, code generation, optimization, and error diagnostics.  Students will write a simple translator. 

The objectives of the course are to get insight into how compilers work and how they are implemented.  To this end, each student will be required to write a simple compiler. 

Course Expectations

 Prerequisite: CMPS5313 waived.

 Course Assignments:

 Writing a simple compiler that is broken into five programming assignments: 

  1. An interpreter for a MINI-MACHINE programming language
  2. A scanner
  3. An LL parser - 2 parts
  4. A code generator - 2 parts
  5. An LR parser

Additional assignments, quizzes

 Midterm exam  (with open books and notes)

Final exam (with open books and notes)


Follows standard grading policy:

90-100 A;   80-89  B; 70-79 C; 60-69 D; 0-59 F

Final Exam

12/12/2017 1-3pm

Submission Format Policy

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

  1. Points will be deducted for late assignments
  2. Keep all your graded works until after you receive your final grade.

Policy for late programs and grading available at Programming Assignment Policy

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, (940) 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

Attendance: You are required to attend all class lectures.  If you miss a lecture, it is your responsibility to obtain notes from a fellow student. Office hours are not meant for individual lectures. Attendance will be taken throughout the semester at the discretion of the instructor. Three unexcused absences may result in the student being reported to the Dean of Students. Make-up lecture exams will not be permitted without a valid university excuse. If you are forced to miss an exam, arrangements must be made with the instructor prior to the exam date.


Class Participation The University expects regular attendance by students in each course. Class attendance is useful to the student as a means of acquiring knowledge and clarification, and is a prerequisite for class participation. Class participation is the active engagement in questions and answers, taking part in analyses of business situations, and contribution of comments in class sessions. (See the MSU Student Handbook Class Attendance Policy.)

Other Policies

Makeup Exams and Quizzes:  There is one midterm and one final exam.  The only acceptable reason for missing an exam is with a valid university excuse (e.g., excuse from the doctor, death in the immediate family, etc.)  A makeup exam will only be given to those students who have a valid excuse.  If you know ahead of time that you will miss an exam, please see me.

Behavior "All students enrolled at the University shall follow the tenets of common decency and acceptable behavior conducive to a positive learning environment." (See the MSU Student Handbook Standards of Conduct)


Academic integrity is the pursuit of scholarly activity free from fraud and deception and is an educational objective of this institution. Academic dishonesty includes, but is not limited to, cheating, plagiarizing, fabricating of information or citations, facilitating acts of academic dishonesty by others, having unauthorized possession of examinations, submitting work of another person or work previously used without informing the instructor, or tampering with the academic work of other students (See the MSU Student Handbook Standards of Conduct)

Plagiarism: Plagiarism will not be tolerated. Any evidence of plagiarism will result in no credit for that assignment for the first offense.  The second offense will result in an F in the course.

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 the 6 hours of Communication Core and 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.

>Calendar Attachment

Campus Carry

Senate Bill 11 passed by the 84th Texas Legislature allows licensed handgun holders to carry concealed handguns on campus, effective August 1, 2016. Areas excluded from concealed carry are appropriately marked, in accordance with state law. For more information regarding campus carry, please refer to the University’s webpage at

If you have questions or concerns, please contact MSU Chief of Police Patrick Coggins at