Abstract
A linear-time reversible self-interpreter in an r-Turing complete reversible imperative language is presented. The proposed imperative language has reversible structured control flow operators and symbolic tree-structured data (S-expressions). The latter data structures are dynamically allocated and enable reversible simulation of programs of arbitrary size and space consumption. As self-interpreters are used to show a number of fundamental properties in classic computability and complexity theory, the present study of an efficient reversible self-interpreter is intended as a basis for future work on reversible computability and complexity theory as well as programming language theory for reversible computing. Although the proposed reversible interpreter consumes superlinear space, the restriction of the number of variables in the source language leads to linear-time reversible simulation.
Originalsprog | Engelsk |
---|---|
Tidsskrift | Computer Software |
Vol/bind | 33 |
Udgave nummer | 3 |
Sider (fra-til) | 108-128 |
Antal sider | 21 |
ISSN | 0289-6540 |
DOI | |
Status | Udgivet - 2016 |