English

A Denotational Semantics for Communicating Unstructured Code

Programming Languages 2015-03-18 v1 Logic in Computer Science

Abstract

An important property of programming language semantics is that they should be compositional. However, unstructured low-level code contains goto-like commands making it hard to define a semantics that is compositional. In this paper, we follow the ideas of Saabas and Uustalu to structure low-level code. This gives us the possibility to define a compositional denotational semantics based on least fixed points to allow for the use of inductive verification methods. We capture the semantics of communication using finite traces similar to the denotations of CSP. In addition, we examine properties of this semantics and give an example that demonstrates reasoning about communication and jumps. With this semantics, we lay the foundations for a proof calculus that captures both, the semantics of unstructured low-level code and communication.

Keywords

Cite

@article{arxiv.1503.04913,
  title  = {A Denotational Semantics for Communicating Unstructured Code},
  author = {Nils Jähnig and Thomas Göthel and Sabine Glesner},
  journal= {arXiv preprint arXiv:1503.04913},
  year   = {2015}
}

Comments

In Proceedings FESCA 2015, arXiv:1503.04378

R2 v1 2026-06-22T08:54:50.277Z