Programming Languages

G22.2130.01
Fall 2001
Tuesday 5:00 - 7:00
Room 109, Warren Weaver Hall
Professor Edmond Schonberg

Room 412, Warren Weaver Hall

Instructor: Edmond Schonberg (schonberg@cs.nyu.edu)
Office hours: Monday 3:00 to 5:00 pm, and by appointment.

Teaching Assistants:
Xin Zhang, Room 408 WWH, (xinzhang@cs.nyu.edu).
Office Hours: Thursday 3:00 pm - 5:00 pm.
David Kandathil, Room 801 WWH, (kandathi@cs.nyu.edu).
Office Hours: Wednesday 1:00 pm - 3:00 pm.

Objectives

We will examine basic concepts underlying the design of modern programming languages: types, control structures, abstraction mechanisms, inheritance, concurrency, constructs for programming in the large, etc. This is not a programming course per se, but there will be programming assignments in several languages, imperative and functional. The languages are chosen because of the interest of their features, and not necessarily because of their wide use.
Course Outline

Prerequisites

Undergraduate courses in data structures and algorithms, familiarity and programming experience with one of the following: C, C++, Ada, Java, or Pascal.

Course Work

Programming assignments, final examination, roughly in the same weight, i.e. the final represents half of the grade.

Assignments

Assignment 1
Assignment 2 (email to xinzhang@cs.nyu.edu, schonberg@cs.nyu.edu).
Assignment 3 (email to kandathi@cs.nyu.edu, schonberg@cs.nyu.edu).
Assignment 4 (email to xinzhang@cs.nyu.edu, schonberg@cs.nyu.edu).

Assignment 5 paper version, or email to kandathi@cs.nyu.edu, schonberg@cs.nyu.edu. No Word documents.

Assignment 6 (email program to xinzhang@cs.nyu.edu, schonberg@cs.nyu.edu.

Assignment 7 (email to kandathi@cs.nyu.edu, schonberg@cs.nyu.edu).

Textbooks

required:

Michael Scott: Programming Language, Pragmatics (Morgan Kaufman 2000)
This is a excellent recent text that covers both language design and compiler fundamentals. In your readings for this course you don't need to study any section that has to do with translation and compiler construction, but that material is interesting, and you will examine it in more detail when you take the Compiler Construction course.
John Barnes: Programming in Ada95

Recommended :

You must have some good text on C++ and on Java. For C++ the 3rd edition of Stroustrup: the C++ programming Language, is the standard reference. For Java, the language definition is given in: Gosling, Joy and Steele: the Java Language Specification. For both languages, there are several introductory texts by Horstmann that are very well-written, and innumerable others.
We will discuss functional languages, specifically Scheme and ML, for which there is abundant on-line documentation. The older book by Ravi Sethi: Programming Languages, Concepts and Constructs, has several good chapters on functional languages.
We will discuss scripting and so-called very high level languages, and focus on Python, There is abundant on-line documentation for it, and several programming texts and users guides from O'Reilly.

Class list

All students should register themselves with the class list, which is used for all technical discussions concerning the course. To register, go to the following web page, and follow the instructions:

cs.nyu.edu/mailman/listinfo/g22_2110_001_fa01

You can also subscribe by sending an e-mail message to majordomo@cs.nyu.edu. The contents of the message should be the single line:
     subscribe g22_2110_001_fa01
you will be notified in return that you are a list participant. Please send all your questions to this list (not to the instructor) so that everyone can participate.