Reversible representation and manipulation of constructor terms in the heap

  • Authors:
  • Holger Bock Axelsen;Robert Glück

  • Affiliations:
  • DIKU, Department of Computer Science, University of Copenhagen, Denmark;DIKU, Department of Computer Science, University of Copenhagen, Denmark

  • Venue:
  • RC'13 Proceedings of the 5th international conference on Reversible Computation
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

We currently have limited understanding of how complex data (e.g. algebraic data types) can be represented and manipulated in reversible machine code, in particular without generating garbage. In this paper we present methods for representing and manipulating binary trees (constructor terms) in the heap of a reversible machine. We also give methods for enforcing the so-called first-match policy for a simplified version of the recent reversible functional language RFUN by Yokoyama et al., and simple methods to support let-calls via stack environments.