Comparative Metric Semantics of Programming Languages: Nondeterminism and Recursion

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

During the last three decades several different styles of semantics for program­ ming languages have been developed. This book compares two of them: the operational and the denotational approach. On the basis of several exam­ ples we show how to define operational and denotational semantic models for programming languages. Furthermore, we introduce a general technique for comparing various semantic models for a given language. We focus on different degrees of nondeterminism in programming lan­ guages. Nondeterminism arises naturally in concurrent languages. It is also an important concept in specification languages. In the examples discussed, the degree of non determinism ranges from a choice between two alternatives to a choice between a collection of alternatives indexed by a closed interval of the real numbers. The former arises in a language with nondeterministic choices. A real time language with dense choices gives rise to the latter. We also consider the nondeterministic random assignment and parallel composition, both couched in a simple language. Besides non determinism our four example languages contain some form of recursion, a key ingredient of programming languages.

Author(s): Franck van Breugel
Series: Progress in Theoretical Computer Science
Publisher: Birkhäuser Basel
Year: 1996

Language: English
Pages: 220
Tags: Math Applications in Computer Science; Applications of Mathematics; Programming Languages, Compilers, Interpreters; Programming Techniques; Computational Mathematics and Numerical Analysis; Algorithm Analysis and Problem Complexity

Front Matter....Pages i-xix
Introduction....Pages 1-8
Front Matter....Pages 9-9
Domain equations....Pages 11-17
Linear and branching domains....Pages 19-49
Front Matter....Pages 51-51
Operational semantics....Pages 53-78
Nondeterministic choice....Pages 79-96
Random assignment....Pages 97-115
Front Matter....Pages 117-117
Generalized finiteness conditions....Pages 119-148
Dense choice....Pages 149-164
Second order communication....Pages 165-191
Back Matter....Pages 193-220