COMS W4115 Programming Languages and Translators Summer 2016 |
Class meets Mondays and Wednesdays 5:30 - 8:40 PM 627 Mudd.
Name | Office hours | Location | |
---|---|---|---|
Prof. Stephen A. Edwards | sedwards@cs.columbia.edu | see my home page | 462 CSB |
Richard Townsend | rtownsend@cs.columbia.edu | Tu 5:30 - 7:30 | TA Room (Mudd 1st floor) |
Graham Gobieski | gsg2120@columbia.edu | Th 6 - 9 | TA Room (Mudd 1st floor) |
The goal of PLT is to teach you both about the structure of computer programming languages and the basics of implementing compilers for such languages.
The course will focus mostly on traditional imperative and object-oriented languages, but will also cover functional and logic programming, concurrency issues, and some aspects of scripting languages. Homework and tests will cover language issues. You will design and implement a language of your own design in a semester-long group project.
While few of you will ever implement a full commercial compiler professionally, the concepts, techniques, and tools you will learn have broad application.
COMS W3157 Advanced Programming: You will be dividing into teams to build a compiler, so you need to have some idea how to keep this under control. Quick test: you need to know about Makefiles and source code control systems.
COMS W3261 Computability and Models of Computation: You will need an understanding of formal languages and grammar to build the parser and lexical analyzer. Quick test: you must know about regular expressions, context-free grammars, and NFAs.
Alfred V. Aho, Monica Lam, Ravi Sethi, and Jeffrey D. Ullman. |
Michael L. Scott. |
|
Andrew W. Appel. |
|
Lawrence C. Paulson |
|
Steven S. Muchnick |
The focus of 4115 is the design and implementation of a little language. You will divide into teams and design the goals, syntax, and semantics of your language, and implement a compiler for your language.
Exception: CVN students will do the project individually.
This is a critical part of the project and will be a substantial fraction of the grade.
Include the following sections:
Dennis M. Ritchie, C Reference Manual | |
Kernighan & Ritchie, The C Programming Language | |
The C Language Reference Manual (SGI) | |
Stroustrup, The C++ Programming Language | |
The Java Language Specification | |
The C# Language Specification |
FL:
Financial Computations Language
(GG)
Proposal Mathew Federer |
Macaw:
Mathematical Calculation Language
(GG)
Proposal LRM Final Report Slides Project Files William Hom, Yi Jian, Joseph Baker, and Christopher Chang |
simpliCty:
C Lite
(GG)
Proposal LRM Final Report Project Files Rui Gu, Adam Hadar, Zachary Moffitt, and Suzanna Schmeelk |
GAL:
Graph Application Language
(RT)
Proposal LRM Final Report Slides Project Files Anton Nefedenkov, Donovan Chan, Macrina Lobo, and Andrew Feather |
Liva:
Java Lite
(RT)
Proposal LRM Final Report Slides Project Files Shanqi Lu, Jiafei Song, Zihan Jiao, Yanan Zhang, and Hyoyoon Kim |
YAGL:
Yet Another Graph Language
(RT)
Proposal LRM Final Report Slides Project Files Anthony Alvarez, and David Ding |
Scala--:
Scala Lite
(SE)
Proposal LRM Final Report Slides Project Files Da Liu |
50 % Project |
40 % Final |
10 % Homework |
You will collaborate with your own small group on the programming project, but you may not collaborate with others on homeworks. Groups may share ideas about the programming assignments, but not code. Any two groups found submitting similar code will receive zero credit for the whole assignment, and repeat offenses will be referred to the dean. See the Columbia CS department academic policies for more details.