Abstract
We describe the translation techniques used for the code generation in a compiler from the high-level reversible imperative programming language Janus to the low-level reversible assembly language PISA. Our translation is both semantics preserving (correct), in that target programs compute exactly the same functions as their source programs (cleanly, with no extraneous garbage output), and efficient, in that target programs conserve the complexities of source programs. In particular, target programs only require a constant amount of temporary garbage space.
The given translation methods are generic, and should be applicable to any (imperative) reversible source language described with reversible flowcharts and reversible updates. To our knowledge, this is the first compiler between reversible languages where the source and target languages were independently developed; the first exhibiting both correctness and efficiency; and just the second compiler for reversible languages overall.
The given translation methods are generic, and should be applicable to any (imperative) reversible source language described with reversible flowcharts and reversible updates. To our knowledge, this is the first compiler between reversible languages where the source and target languages were independently developed; the first exhibiting both correctness and efficiency; and just the second compiler for reversible languages overall.
Originalsprog | Engelsk |
---|---|
Titel | Compiler Construction : 20th International Conference, CC 2011, Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2011, Saarbrücken, Germany, March 26–April 3, 2011. Proceedings |
Redaktører | Jens Knoop |
Antal sider | 20 |
Forlag | Springer |
Publikationsdato | 2011 |
Sider | 144-163 |
ISBN (Trykt) | 978-3-642-19860-1 |
ISBN (Elektronisk) | 978-3-642-19861-8 |
DOI | |
Status | Udgivet - 2011 |
Begivenhed | 20th International Conference on Compiler Construction - Saarbrücken, Tyskland Varighed: 26 mar. 2011 → 3 apr. 2011 Konferencens nummer: 20 |
Konference
Konference | 20th International Conference on Compiler Construction |
---|---|
Nummer | 20 |
Land/Område | Tyskland |
By | Saarbrücken |
Periode | 26/03/2011 → 03/04/2011 |
Navn | Lecture notes in computer science |
---|---|
Vol/bind | 6601 |
ISSN | 0302-9743 |