A syntactic correspondence between context-sensitive calculi and abstract machines

  • Authors:
  • Magorzata Biernacka;Olivier Danvy

  • Affiliations:
  • BRICS,11Basic Research in Computer Science (www.brics.dk), funded by the Danish National Research Foundation. Department of Computer Science, University of Aarhus,22IT-parken, Aabogade 34, DK-8200 ...;BRICS,11Basic Research in Computer Science (www.brics.dk), funded by the Danish National Research Foundation. Department of Computer Science, University of Aarhus,22IT-parken, Aabogade 34, DK-8200 ...

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2007

Quantified Score

Hi-index 5.23

Visualization

Abstract

We present a systematic construction of environment-based abstract machines from context-sensitive calculi of explicit substitutions, and we illustrate it with ten calculi and machines for applicative order with an abort operation, normal order with generalized reduction and call/cc, the lambda-mu-calculus, delimited continuations, stack inspection, proper tail-recursion, and lazy evaluation. Most of the machines already exist but they have been obtained independently and are only indirectly related to the corresponding calculi. All of the calculi are new and they make it possible directly to reason about the execution of the corresponding machines.