Language Definitions as Rewrite Theories

Arusoaie, Andrei, Lucanu, Dorel, Rusu, Vlad, Serbanuta, Traian Florin , Stefanescu, Andrei, Grigore Rosu. Language Definitions as Rewrite Theories. In International Workshop on Rewriting Logic and Application. Grenoble, France, Feb 2014.

Abstract

K is a formal framework for defining the operational semantics of programming languages. It includes software tools for compiling K language definitions to Maude rewrite theories, for executing programs in the defined languages based on the Maude rewriting engine, and for analyzing programs by adapting various Maude analysis tools. A recent extension to the K tool suite is an automatic transformation of language definitions that enables the symbolic execution of programs, i.e., the execution of programs with symbolic inputs. In this paper we investigate the theoretical relationships between K language definitions and their translations to Maude, between symbolic extensions of K definitions and their Maude encodings, and how the relations between K definitions and their symbolic extensions are reflected on their respective representations in Maude. These results show, in particular, how analyses performed with Maude tools can be formally lifted up to the original language definitions.

link to paper on Springer site : http://link.springer.com/chapter/10.1007%2F978-3-319-12904-4_5

link to PDF: http://hal.inria.fr/hal-00950775