Abstract
Compiler theory is usually studied individually according to the paradigms of the programming language being compiled. As noted by Kelsey, though the static single assignment (SSA) form has been used as intermediate language for imperative language compilers, and some variant of a continuation passing style (CPS) lambda calculus has been used as intermediate language for functional language compilers, they are (almost) equivalent and it is possible to draw syntactic translations between them.
This short paper aims to present an untyped intermediate language which may be interpreted as both SSA and CPS, in order to provide a common language for both imperative and functional compilers, as well to take advantage of optimizations designed for either one of the approaches. Finally, potential variants and research opportunities are discussed.
This short paper aims to present an untyped intermediate language which may be interpreted as both SSA and CPS, in order to provide a common language for both imperative and functional compilers, as well to take advantage of optimizations designed for either one of the approaches. Finally, potential variants and research opportunities are discussed.
Original language | English |
---|---|
Title of host publication | SBLP 2017 Proceedings of the 21st Brazilian Symposium on Programming Languages |
Place of Publication | New York |
Publisher | Association for Computing Machinery |
Publication date | 2017 |
Article number | 1 |
ISBN (Print) | 978-1-4503-5389-2 |
DOIs | |
Publication status | Published - 2017 |
Event | 21st Brazilian Symposium on Programming Languages: Part of the 8th Brazilian Conference on Software (CBSoft) - University of Fortaleza, Fortaleza, Brazil Duration: 21 Sept 2017 → 22 Sept 2018 Conference number: 21 |
Symposium
Symposium | 21st Brazilian Symposium on Programming Languages |
---|---|
Number | 21 |
Location | University of Fortaleza |
Country/Territory | Brazil |
City | Fortaleza |
Period | 21/09/2017 → 22/09/2018 |