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 10


Syntax and Semantics

Topics

In the remainder of the course, we shall give semantics to the simple language While (and some of its possible extensions) using the different types of semantic descriptions we introduced in lecture 10. The reason for using the language While to introduce semantics is that it is a simple, yet expressive, language which can be used to highlight the foundational principles, and most important ideas, underlying operational, denotational and axiomatic semantics.

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

Should you be interested in seeing how easy it is to implement natural and structural operational semantics for our example language, you may wish to look at the Miranda implementations of evaluation of expressions, and of the natural and structural operational semantics. (Courtesy of Hanne Riis Nielson and Flemming Nielson.)

Time and Location

Monday, 17 March 2002 at 10:15 in A4-106.

Reading Material

Exercises


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