Categorical Model of Structural Operational Semantics for Imperative Language
Journal: Journal of Information and Organizational Sciences (JIOS) (Vol.40, No. 2)Publication Date: 2016-12-09
Authors : William Steingartner; Valerie Novitzká;
Page : 203-219
Keywords : category theory; morphism; semantic function; state; structural operational semantics;
Abstract
Definition of programming languages consists of the formal definition of syntax and semantics. One of the most popular semantic methods used in various stages of software engineering is structural operational semantics. It describes program behavior in the form of state changes after execution of elementary steps of program. This feature makes structural operational semantics useful for implementation of programming languages and also for verification purposes. In our paper we present a new approach to structural operational semantics. We model behavior of programs in category of states, where objects are states, an abstraction of computer memory and morphisms model state changes, execution of a program in elementary steps. The advantage of using categorical model is its exact mathematical structure with many useful proved properties and its graphical illustration of program behavior as a path, i.e. a composition of morphisms. Our approach is able to accentuate dynamics of structural operational semantics. For simplicity, we assume that data are intuitively typed. Visualization and facility of our model is not only a new model of structural operational semantics of imperative programming languages but it can also serve for education purposes.
Other Latest Articles
- Agent-Based Modelling Applied to 5D Model of the HIV Infection
- MATT: Multi Agents Testing Tool Based Nets within Nets
- The Attitude of Amitav Ghosh and Khushwant Singh on Nationalism and Partition in The Shadow Lines and Train to Pakistan
- Juxtaposition of lyric and politics in Audenesque
- Gender Discrimination in Mahesh Dattani’s Play “Dance Like a Man” and “Tara”- A Critical Analysis
Last modified: 2020-03-26 19:06:29