Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Syntax and Semantics
[go: Go Back, main page]


INF2: Syntax and Semantics 2003

Lecture 11


Syntax and Semantics

Topics

In our previous lecture, we began our semantic analysis of While by offering a natural operational semantics for its statements. We shall now proceed to describe a structural operational semantics for While, and discuss what these two (equivalent, but different) semantics tell us about the behaviour of statements.

Both natural and structural operational semantics are defined using a collection of syntax directed rules that allow us to deduce the behaviour of a composite program from that of its component subprograms. This type of semantic description has been pioneered by Gordon Plotkin, and is widely used in the semantics of programming and specification languages. For this reason, we shall spend some time on the analysis of the general form of these two semantics, and on pinpointing the proof techniques that they naturally support. To highlight the use of these proof techniques, we shall see how using operational semantics we can formally argue about equivalence, and about desired properties of a programming language, e.g., that its programs are deterministic. A program is deterministic if the final result of its execution (if one exists) is completely determined by the initial state.

Time and Location

Thursday, 20 March 2003 at 10:15 in A4-106.

Reading Material

Exercises


Luca Aceto, Institute of Computer Science, Aalborg University.
Last modified: .