Static transition compression

  • Authors:
  • Daniel Damian;Olivier Danvy

  • Affiliations:
  • BRICS, Department of Computer Science, University of Aarhus, Aarhus C, Denmark;BRICS, Department of Computer Science, University of Aarhus, Aarhus C, Denmark

  • Venue:
  • SAIG'01 Proceedings of the 2nd international conference on Semantics, applications, and implementation of program generation
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Starting from an operational specification of a translation from a structured to an unstructured imperative language, we point out how a compositional and context-insensitive translation gives rise to static chains of jumps. Taking an inspiration from the notion of continuation, we state a new compositional and context-sensitive specification that provably gives rise to no static chains of jumps, no redundant labels, and no unused labels. It is defined with one inference rule per syntactic construct and operates in linear time and space on the size of the source program (indeed it operates in one pass).