Section outline

  • 326.0FS, Time: Friday, 8:30-10:00, HS 13, Start: March 10, 2023.

    While the syntax of a programming language is always formally specified, the equally important aspect of definining its meaning is often left to natural language which is ambiguous and leaves many questions open. In order to understand the inherent properties of a language (e.g. for constructing a compiler), we should have a deeper understanding.  This course presents some major methods for defining the formal semantics of programming languages (and thus programs) and discusses their relationship:

    Denotational Semantics
    A programming language is defined by a valuation function that maps a program into a mathematical object which is considered as its meaning.
    Operational Semantics
    A programming language is defined by reduction rules that describe how the initial state of a program is transformed step by step into the terminal state.
    Axiomatic Semantics
    A programming language is defined by correctness assertions that describe how to draw conclusions about the input/output interface of a program.

    The participants are expected to elaborate a small project (the implementation of some semantics presented in class) which will be used for grading (there will be no final exam).

    To participate in the course, you have to register in the KUSSS System. Since the assignments will be uploaded in Moodle, you also have to create an account in the RISC Moodle (press the button "Create new account", you have to register with your jku.at email address) and self-enrol in the course (press the button "Enrol me"); then you also receive all messages posted in the course forums per email.