CS 3040: Programming Languages and Translators, Fall 2020

Instructor: Rob Hasker (414-277-7326)

Office hours: See my home page: https://faculty-web.msoe.edu/hasker/

Textbooks:
Software Languages: Syntax, Semantics, and Metaprogramming, Ralf Lämmel, Springer, 2018, ISBN 978-3-319-90798-7
Real World Haskell, O'Sullivan, Stewart, and Goerzen, O'Reilly, 2008. This book is available online.

Course Description: This course studies programming languages and their implementations. This includes discussions of data types, storage management, syntax, BNF descriptions, domain-specific languages, semantics, lexical analysis, parsing, and compilation. Traditional and more modern programming languages are used as examples. Students use a functional programming language to contruct interpreters and translators for multiple domain-specific languages.

Prereq: CS 2040

Format: 4 lecture hours, no lab, 4 credits

Course Outcomes: On successful completion of this course, the student will be able to

Grading

  Percentage  
Assignments  30%
Quizzes/homework/participation:  20%
2 Midterm exams:  30%
Final Exam:  20%
Total: 100%

The MSOE grading scale will be used, though I reserve the right to award higher grades to individual students if it increases fairness. In addition, successfully demonstrating mastery of course outcomes is a prerequisite for a passing grade. This includes being successful on the final exam and, in some cases, completing assignments even if worth zero points.

Communication

While the course is convening remotely, I will focus on the following communication methods:

Assignments and Quizzes

Unless otherwise announced, late assignment and exercise solutions will be penalized 5% if submitted up to three days late and 15% if submitted between four and seven days late. Solutions submitted more than one week late will be worth zero points unless there is advance arrangement for extenuating circumstances. Other assignments (such as homeworks and online quizzes) are worth zero points if late. Unless you have written permission, all assignments must be submitted before Monday of finals week.

Programs will be graded for both correctness (does it work right?) and presentation (does it look good on the printed page?). I will not be handing out an extensive style sheet for this course, but at a minimum you must do the following:

Assignments and quizzes are individual unless explicitly stated otherwise. You are responsible for honestly completing and representing your work, for appropriately citing sources, and for respecting the academic endeavors of others. Electronic tools may be used to identify plagiarism. You will be penalized for violating these standards.

Missed quizzes cannot be made up, but at least one of the lowest quiz or homework scores will be dropped. All assignments must be submitted by the Saturday after week 10. Assignments will not be accepted after that unless there is advance, written approval.

Attendance

Attending Teams-based class meetings and lab sessions is mandatory. I may not always take formal attendance, but attendance and participation will be factored into your grade. It is expected that you will read lab writeups and review lecture material before the appropriate lab or class meeting.

Do not record video or audio of lectures without my permission, and do not redistribute provided videos.

All students must take the final exam to receive a passing grade in the course unless the student has been excused in advance.

For students with documented disabilities, chronic medication conditions and mental health concerns: MSOE provides services to make reasonable accommodations available. If you are a student who requires or anticipates the need for accommodations, please contact Student Accessibility Services Office at 414-277-7281, by email at moureau@msoe.edu, or in person at K250 to discuss appropriate accommodations and eligibility requirements.

All students are expected to follow the procedures specified in the Raider Return Plan.

Course Topics

Tentative Schedule

By weeks: