School of Computing · ANU College of Systems and Society
“Programming languages are the medium through which we describe computations. More specifically, we use the model provided by a programming language to discuss concepts, formulate algorithms, and reason about problem solutions. Programming languages define models tailored to thinking about and solving problems in intended application areas. For example, the C language provides a model close to a computer’s underlying hardware [...]. The languages used in practice change continuously as advances in our field and the broadening uses of technology change how we model and express computation. At its core, the study of programming languages examines the principles and limitations of computing (or programming) models, the effective design and use of systems or languages based on these models, and methods to compare their relative strengths and weaknesses in particular contexts.” [Why Undergraduates Should Learn the Principles of Programming Languages, ACM SIGPLAN Education Board, February 6, 2011, Page 1] This course is an introduction to the theory and design of programming languages. To develop high-assurance software - software for which we can give strong evidence that the software will do what it is supposed to do and nothing more - a formal description of the 'meaning' and behaviour of programs is required. Hence two fundamental aspects of the study of programming languages are their syntax, and their formal semantics. High-assurance software is not only needed for safety-critical software, but also for program transformations, such as carried out by optimising compilers. Topics covered in this course include formal semantics of programming languages (such as operational, denotational and axiomatic), type systems, higher-order functions and lambda calculus, concurrency, and communication.
Assignments
Learning outcomes 1, 2, 3, 4, 5, 6, 7
Final Exam
Learning outcomes 1, 2, 3, 4, 5, 6, 7
Approximately 130 hours consisting of lectures, tutorials and self-directed study. Other Information Course offered in Semester 2 in alternate odd-numbered years.
None Preliminary Reading - Harper, R. 2012, Practical Foundations for Programming Languages, Cambridge University Press, New York. - Pierce, B.C. 2019, Types and Programming Languages, The MIT Press. - Krishnamurthi, S. & Open Textbook Library 2017, Programming Languages: Application and Interpretation, Version Second edn, Brown University, - Winskel, G. 1993, The formal semantics of programming languages: an introduction, MIT Press, Cambridge, Mass.