Article ID Journal Published Year Pages File Type
424337 Electronic Notes in Theoretical Computer Science 2007 17 Pages PDF
Abstract

A rewrite logic semantic definitional framework for programming languages is introduced, called K, together with partially automated translations of K language definitions into rewriting logic and into C. The framework is exemplified by defining SILF, a simple imperative language with functions. The translation of K definitions into rewriting logic enables the use of the various analysis tools developed for rewrite logic specifications, while the translation into C allows for very efficient interpreters. A suite of tests show the performance of interpreters compiled from K definitions.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics