Item request has been placed! ×
Item request cannot be made. ×
loading  Processing Request

From Interpreter to Compiler and Virtual Machine: A Functional Derivation

Item request has been placed! ×
Item request cannot be made. ×
loading   Processing Request
  • المؤلفون: Ager, Mads Sig; Biernacki, Dariusz; Danvy, Olivier; Midtgaard, Jan
  • المصدر:
    BRICS Report Series; No 14 (2003): RS-14 From Interpreter to Compiler and Virtual Machine: A Functional Derivation ; BRICS Report Series; Nr. 14 (2003): RS-14 From Interpreter to Compiler and Virtual Machine: A Functional Derivation ; 1601-5355 ; 0909-0878
  • نوع التسجيلة:
    article in journal/newspaper
  • اللغة:
    English
  • معلومة اضافية
    • بيانات النشر:
      Aarhus University
    • الموضوع:
      2003
    • Collection:
      Tidsskrift.dk (The Royal Library, Denmark)
    • نبذة مختصرة :
      We show how to derive a compiler and a virtual machine from a compositional interpreter. We first illustrate the derivation with two evaluation functions and two normalization functions. We obtain Krivine's machine, Felleisen et al.'s CEK machine, and a generalization of these machines performing strong normalization, which is new. We observe that several existing compilers and virtual machines--e.g., the Categorical Abstract Machine (CAM), Schmidt's VEC machine, and Leroy's Zinc abstract machine--are already in derived form and we present the corresponding interpreter for the CAM and the VEC machine. We also consider Hannan and Miller's CLS machine and Landin's SECD machine. We derived Krivine's machine via a call-by-name CPS transformation and the CEK machine via a call-by-value CPS transformation. These two derivations hold both for an evaluation function and for a normalization function. They provide a non-trivial illustration of Reynolds's warning about the evaluation order of a meta-language.
    • File Description:
      application/pdf
    • Relation:
      https://tidsskrift.dk/brics/article/view/21784/19215; https://tidsskrift.dk/brics/article/view/21784
    • الرقم المعرف:
      10.7146/brics.v10i14.21784
    • الدخول الالكتروني :
      https://tidsskrift.dk/brics/article/view/21784
      https://doi.org/10.7146/brics.v10i14.21784
    • Rights:
      Ophavsret (c) 2015 BRICS Report Series
    • الرقم المعرف:
      edsbas.71922811