@inproceedings{fbec96ea898b4edcb599668398482040,
title = "Stack-based typed assembly language",
abstract = "In previous work, we presented a Typed Assembly Language (TAL). TAL is sufficiently expressive to serve as a target language for compilers of high-level languages such as ML. This work assumed such a compiler would perform a continuation-passing style transform and eliminate the control stack by heap-allocating activation records. However, most compilers are based on stack allocation. This paper presents STAL, an extension of TAL with stack constructs and stack types to support the stack allocation style. We show that STAL is sufficiently expressive to support languages such as Java, Pascal, and ML; constructs such as exceptions and displays; and optimizations such as tail call elimination and callee-saves registers. This paper also formalizes the typing connection between CPS-based compilation and stack-based compilation and illustrates how STAL can formally model calling conventions by specifying them as formal translations of source function types to STAL types.",
author = "Greg Morrisett and Karl Crary and Neal Glew and David Walker",
note = "Publisher Copyright: {\textcopyright} Springer-Verlag Berlin Heidelberg 1998.; 2nd International Workshop on Types in Compilation, TIC 1998 ; Conference date: 25-03-1998 Through 27-03-1998",
year = "1998",
doi = "10.1007/bfb0055511",
language = "English (US)",
isbn = "3540649255",
series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
publisher = "Springer Verlag",
pages = "28--52",
editor = "Xavier Leroy and Atsushi Ohori",
booktitle = "Types in Compilation - 2nd International Workshop, TIC 1998, Proceedings",
address = "Germany",
}