Course Description

CSC 2/454 is an introduction to the design and implementation of programming languages.  From the design point of view, we will study language features as tools for expressing algorithms.  From the implementation point of view, we will study compilers, interpreters, and virtual machines as tools to map those features efficiently onto modern computer hardware.  The course will touch on a wide variety of languages, both past and present, with an emphasis on modern imperative languages, such as C++ and Java, and, to a lesser extent, on functional languages such as Scheme and ML; scripting languages such as Perl, Python, and Ruby; and emerging languages such as Scala, Rust, and Swift.  Rather than dwell on the features of any particular language, we will focus instead on fundamental concepts, and on the differences between languages, the reasons for those differences, and the implications those differences have for language implementation. 

Topics to be covered in CSC 2/454 include: 

Students taking the course for graduate credit may have additional requirements on assignments and exams, and will be graded on a separate curve.

Prerequisites

CSC 173 is a prerequisite for CSC 2/454.  In particular, 2/454 relies on prior exposure to regular expressions and finite automata; context free grammars and recursive descent parsing; standard data structures and complexity measures (hash tables, search trees, sorting and searching algorithms); and (to a lesser extent) functional and logic programming and their grounding in lambda and predicate calculus.  CSC 252 is recommended but not required (if you plan to take both, and have the flexibility to do so, you should take 252 first).  Students not familiar with the characteristics of modern microprocessors (assembly language, caches, pipelining) will need to spend a bit of extra time catching up on this material.  In turn, CSC 2/454 is recommended for students planning to take CSC 2/456 (Operating Systems), and is a prerequisite for CSC 2/455 (Software Performance and Correctness) and CSC 2/458 (Parallel and Distributed Systems).  It is also a required course for the B.S. degree. 

Textbook

We will be using as our text the fourth edition of Programming Language Pragmatics.  Earlier editions will not do; you’ll need the new one.  It’s less expensive than many textbooks (approx. $75), but if that still seems like too much, there will be copies on reserve at Carlson Library.


Last Change:  29 August 2017 / Michael Scott's email address