Proceedings of the APPSEM-II Workshop on the Krivine and ZINC Abstract Machines (KAZAM)

نویسندگان

  • Olivier Danvy
  • Hayo Thielecke
  • Achim Jung
  • Xavier Leroy
چکیده

We materialize the common belief that calculi with explicit substitutions provide an intermediate step between an abstract specification of substitution in the λ-calculus and its actual implementations. To this end, we show a systematic derivation leading from a slight extension of Curien’s calculus of closures, capable of expressing one-step reduction strategies, to the environment-based Krivine’s abstract machine for call-by-name evaluation in the λ-calculus. The derivation consists of two phases: the first one employs Danvy and Nielsen’s refocusing method to construct an abstract machine for the calculus of closures; the second performs an unfolding of closures to make the environment part explicit in the resulting abstract machine.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A formal derivation of an executable Krivine machine

There is a close relationship between lambda calculi with explicit substitutions and abstract machines. Biernacka and Danvy [7] have shown how to derive several well-known abstract machines including the Krivine machine [14, 15, 21, 22], the CEK machine [19], and the Zinc machine [23]. Starting with a functional program that evaluates by repeated head reduction, each of these abstract machines ...

متن کامل

From Mathematics to Abstract Machine: A formal derivation of an executable Krivine machine

There is a close relationship between lambda calculi with explicit substitutions and abstract machines. Biernacka and Danvy [7] have shown how to derive several well-known abstract machines including the Krivine machine [14, 15, 21, 22], the CEK machine [19], and the Zinc machine [23]. Starting with a functional program that evaluates by repeated head reduction, each of these abstract machines ...

متن کامل

The next 700 Krivine machines

The Krivine machine is a simple and natural implementation of the normal weak-head reduction strategy for pure λ-terms. While its original description has remained unpublished, this machine has served as a basis for many variants, extensions and theoretical studies. In this paper, we present the Krivine machine and some well-known variants in a common framework. Our framework consists of a hier...

متن کامل

Preliminary Proceedings of the 1998 APPSEM Workshop on Normalization by Evaluation NBE ’ 98 May

We extend normalization by evaluation from the pure typed -calculus to general higher type term rewrite systems. E-mail: [email protected]

متن کامل

An Elementary Theory of the Category of Locally Compact Locales

The category of locally compact locales over any elementary topos is characterised by means of the axioms of abstract Stone duality (monadicity of the topology, considered as a selfadjoint exponential Σ(−), and Scott continuity, Fφ = ∃`. F (λn. n ∈ `)∧∀n ∈ `. φn), together with an “underlying set” functor that is right adjoint to the inclusion of the full subcategory of overt discrete objects (...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005