English

Variable elimination for building interpreters

Software Engineering 2010-05-11 v1 Programming Languages

Abstract

In this paper, we build an interpreter by reusing host language functions instead of recoding mechanisms of function application that are already available in the host language (the language which is used to build the interpreter). In order to transform user-defined functions into host language functions we use combinatory logic : lambda-abstractions are transformed into a composition of combinators. We provide a mechanically checked proof that this step is correct for the call-by-value strategy with imperative features.

Keywords

Cite

@article{arxiv.1005.1466,
  title  = {Variable elimination for building interpreters},
  author = {Julien Cohen and Jean-Louis Giavitto and Olivier Michel},
  journal= {arXiv preprint arXiv:1005.1466},
  year   = {2010}
}

Comments

33 pages

R2 v1 2026-06-21T15:20:25.265Z