2011•Electronic Notes in Theoretical Computer ScienceOpen access

Modularity and Implementation of Mathematical Operational Semantics

Mauro Jaskelioff, Neil Ghani, Graham Hutton

Open full text 19 citations

Abstract

Structural operational semantics is a popular technique for specifying the meaning of programs by means of inductive clauses. One seeks syntactic restrictions on those clauses so that the resulting operational semantics is well-behaved. This approach is simple and concrete but it has some drawbacks. Turi pioneered a more abstract categorical treatment based upon the idea that operational semantics is essentially a distribution of syntax over behaviour. In this article we take Turiʼs approach in two new directions. Firstly, we show how to write operational semantics as modular components and how to combine such components to specify complete languages. Secondly, we show how the categorical nature of Turiʼs operational semantics makes it ideal for implementation in a functional programming language such as Haskell.

Open-access reader

About this research paper

What this paper is about

Structural operational semantics is a popular technique for specifying the meaning of programs by means of inductive clauses. One seeks syntactic restrictions on those clauses so that the resulting operational semantics is well-behaved. This approach is simple and concrete but it has some drawbacks. Turi pioneered a more abstract categorical treatment based upon the idea that operational semantics is essentially a distribution of syntax over behaviour. In this article we take Turiʼs approach in two new directions. Firstly, we show how to write operational semantics as modular components and how to combine such components to specify complete languages. Secondly, we show how the categorical nature of Turiʼs operational semantics makes it ideal for implementation in a functional programming language such as Haskell.

Why it matters

OpenAlex reports 19 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

Structural operational semantics is a popular technique for specifying the meaning of programs by means of inductive clauses. One seeks syntactic restrictions on those clauses so that the resulting operational semantics is well-behaved. This approach is simple and concrete but it has some drawbacks. Turi pioneered a more abstract categorical treatment based upon the idea that operational semantics is essentially a distribution of syntax over behaviour. In this article we take Turiʼs approach in two new directions. Firstly, we show how to write operational semantics as modular components and how to combine such components to specify complete languages. Secondly, we show how the categorical nature of Turiʼs operational semantics makes it ideal for implementation in a functional programming language such as Haskell.

Key concepts: Operational semantics, Computer science, Programming language, Haskell, Semantics (computer science), Syntax, Abstract syntax, Principle of compositionality

Related papers

Back to paper searchBrowse research topicsOriginal source
Modularity and Implementation of Mathematical Operational Semantics — Research Paper | ScholarLens