A Region-Based Abstract Machine for the ML Kit

Martin Elsman, Niels Hallenberg

Publikation: Bog / Antologi / Rapport / Ph.D.-afhandlingRapportForskning

Abstract

This document describes the implementation of a bytecode backend for the ML Kit, a Standard ML compiler based on region inference. The purpose of the bytecode backend is to enable the ML Kit to produce portable and compact code that can be executed in environments where control of memory usage is a concern. The document includes (1) a presentation of the target of the new backend, namely a region-based abstract machine called the Kit Abstract Machine (KAM), (2) a description of the intermediate language RegExp used in the ML Kit, (3) a presentation of yet an intermediate language LiftExp, in which all functions are lifted to top level, (4) a translation from the language RegExp to the language LiftExp, and finally, (5) a translation from the intermediate language LiftExp into KAM instructions. The focus of this document is not on providing a formal definition of the KAM or of the translation into KAM instructions. Instead, this report is meant to document - sometimes informally - the implementation and the design of the many features of the KAM.
OriginalsprogEngelsk
UdgivelsesstedCopenhagen
ForlagIT-Universitetet i København
UdgaveTR-2002-18
Antal sider37
ISBN (Elektronisk)87–7949–025–5
StatusUdgivet - aug. 2002
Udgivet eksterntJa
NavnIT University Technical Report Series
NummerTR-2002-18
ISSN1600-6100

Fingeraftryk

Dyk ned i forskningsemnerne om 'A Region-Based Abstract Machine for the ML Kit'. Sammen danner de et unikt fingeraftryk.

Citationsformater