PL: Programming Languages

helloWorld.png

Course:21048 (Spring Semester 2016)
Lecturer: Oscar Nierstrasz
Staff: Boris Spasojević, Jan Kurš
Lectures: Friday 10h15 - 12h00
Exercises: Friday 12h00 - 13h00
Place: IWI 001, Engehaldestrasse 8
Start: 2016-02-26
Exam: 2016-06-03
Repetition:Spring 2018

Description

Programming languages are the means by which we instruct a computer to perform tasks for us. We use different programming languages to accomplish different tasks, but what really are the differences between various languages?

In this course we adopt the viewpoint that programming is modeling, so different programming languages offer us different ways to model our applications. We will examine a number of different paradigms for programming, and in each case look at one or more concrete examples of programming languages that support that paradigm. Specifically we will look at languages like Postscript, Haskell, Prolog, JavaScript and EToys. We will also take a brief look at the semantics of programming languages, and we will see how semantic descriptions can be made directly executable to obtain a rapid prototype of a language.

Learning Outcomes

On successful completion of this course, you will be able to:

  • distinguish the key programming paradigms and know how to apply them
  • know how to program a stack machine
  • understand different forms of polymorphism
  • exercise basic skills in functional programming
  • understand how the lambda calculus offers a basic semantic foundation for programming
  • understand the role of static typing in object-oriented programming
  • exercise basic skills in logic programming

Grading

The final grade in the course will be based 20% on exercises and 80% on the final exam.

Schedule 2016

1 26-Feb-16 Introduction Ex01
2 04-Mar-16 Stack-based Programming Ex02
3 11-Mar-16 Functional Programming Ex03, template.hs
4 18-Mar-16 Types and Polymorphism Ex04
- 25-Mar-16 Good Friday
- 01-Apr-16 Easter vacation
5 08-Apr-16 Lambda Calculus Ex05
6 15-Apr-16 Fixed Points Ex06
7 22-Apr-16 Programming Language Semantics Ex07
8 29-Apr-16 Objects and Prototypes Ex08, Exercise08.zip
9 06-May-16 Objects and Types Ex09, Exercise09.zip
10 13-May-16 Logic Programming Ex10
11 20-May-16 Applications of Logic Programming Ex11
12 27-May-16 Visual Programming
13 03-Jun-16 Final Exam
Last changed by oscar on 5 December 2016