Skip to content

Principles of Programming Languages syllabus

COMP 30114 units · 87 topicsAcademic year 2083/84
Browse the units

1Introduction

  1. 1.1
    Reasons for Studying Concepts of Programming Languages
  2. 1.2
    Programming Domains
  3. 1.3
    Language Evaluation Criteria
  4. 1.4
    Influences on Language Design
  5. 1.5
    Language Categories
  6. 1.6
    Language Design Trade-offs
  7. 1.7
    Implementation Methods
  8. 1.8
    Programming Environments

2Evolution of the Major Programming Languages

3Describing Syntax and Semantics

  1. 3.1
    Introduction
  2. 3.2
    The General Problem of Describing Syntax
  3. 3.3
    Formal Methods of Describing Syntax
  4. 3.4
    Attribute Grammars
  5. 3.5
    Describing the Meanings of Programs: Dynamic Semantics

4Lexical and Syntax Analysis

  1. 4.1
    Introduction
  2. 4.2
    Lexical Analysis
  3. 4.3
    The Parsing Problem
  4. 4.4
    Recursive-Descent Parsing
  5. 4.5
    Bottom-up Parsing

5Names, Bindings, Type Checking, and Scopes

  1. 5.1
    Introduction
  2. 5.2
    Names
  3. 5.3
    Variables
  4. 5.4
    The Concept of Binding
  5. 5.5
    Type Checking

6Type Checking and Scopes continued

  1. 6.1
    Strong Typing
  2. 6.2
    Type Equivalence
  3. 6.3
    Scope
  4. 6.4
    Scope and Lifetime
  5. 6.5
    Referencing Environments
  6. 6.6
    Named Constants

7Data Types

  1. 7.1
    Introduction
  2. 7.2
    Primitive Data Types
  3. 7.3
    Character String Types
  4. 7.4
    Array Types
  5. 7.5
    Associative Arrays
  6. 7.6
    Record Types
  7. 7.7
    Union Types
  8. 7.8
    Pointer and Reference Types

8Expression and Assignment Statements

  1. 8.1
    Introduction
  2. 8.2
    Arithmetic Expressions
  3. 8.3
    Overloaded Operators
  4. 8.4
    Type Conversions
  5. 8.5
    Relational and Boolean Expressions
  6. 8.6
    Short-Circuit Evaluation
  7. 8.7
    Assignment Statements
  8. 8.8
    Mixed-mode Assignment

9Subprograms

  1. 9.1
    Introduction
  2. 9.2
    Fundamentals of Subprograms
  3. 9.3
    Design Issues of Subprograms
  4. 9.4
    Local Referencing Environments
  5. 9.5
    Parameter-Passing Methods
  6. 9.6
    Parameters That Are Subprograms

10Subprograms continued

  1. 10.1
    Overloaded Subprograms
  2. 10.2
    Generic Subprograms
  3. 10.3
    Design Issues for Functions
  4. 10.4
    User-Defined Overloaded Operators
  5. 10.5
    Coroutines

11Implementing Subprograms

  1. 11.1
    The General Semantics of Calls and Returns
  2. 11.2
    Implementing Simple Subprograms
  3. 11.3
    Implementing Subprograms with Stack-Dynamic Local Variables
  4. 11.4
    Nested Subprograms
  5. 11.5
    Blocks
  6. 11.6
    Implementing Dynamic Scoping

12Abstract Data Types and Encapsulation Constructs

  1. 12.1
    The Concept of Abstraction
  2. 12.2
    Introduction to Data Abstraction
  3. 12.3
    Design Issues for Abstract Data Types
  4. 12.4
    Language Examples
  5. 12.5
    Parameterized Abstract Data Types
  6. 12.6
    Encapsulation Constructs
  7. 12.7
    Naming Encapsulations

13Functional Programming Languages

  1. 13.1
    Introduction
  2. 13.2
    Mathematical Functions
  3. 13.3
    Fundamentals of Functional Programming Languages
  4. 13.4
    The First Functional Programming Language: LISP
  5. 13.5
    COMMON LISP
  6. 13.6
    ML
  7. 13.7
    Haskell
  8. 13.8
    Applications of Functional Languages
  9. 13.9
    A Comparison of Functional and Imperative Languages

14Logic Programming Languages

  1. 14.1
    Introduction
  2. 14.2
    A Brief Introduction to Predicate Calculus
  3. 14.3
    Predicate Calculus and Proving Theorems
  4. 14.4
    An Overview of Logic Programming
  5. 14.5
    The Origins of Prolog
  6. 14.6
    The Basic Elements of Prolog
  7. 14.7
    The Deficiencies of Prolog
  8. 14.8
    Applications of Logic Programming