Zac Garby
Calculating Compilers Effectively (Functional Pearl)
Garby, Zac; Hutton, Graham; Bahr, Patrick
Authors
Abstract
Much work in the area of compiler calculation has focused on pure languages. While this simplifies the reasoning, it reduces the applicability. In this article, we show how an existing compiler calculation methodology can be naturally extended to languages with side-effects. We achieve this by exploiting an algebraic approach to effects, which keeps the reasoning simple and provides flexibility in how effects are interpreted. To make the ideas accessible we only use elementary functional programming techniques.
Citation
Garby, Z., Hutton, G., & Bahr, P. (Eds.). (2024). Calculating Compilers Effectively (Functional Pearl) [Edited Proceedings]. Haskell 2024: Proceedings of the 17th ACM SIGPLAN International Haskell Symposium, Milan, Italy. https://doi.org/10.1145/3677999.3678283
| Presentation Conference Type | Edited Proceedings |
|---|---|
| Conference Name | Haskell 2024: Proceedings of the 17th ACM SIGPLAN International Haskell Symposium |
| Start Date | Sep 6, 2024 |
| End Date | Sep 7, 2024 |
| Acceptance Date | Jul 5, 2024 |
| Online Publication Date | Aug 28, 2024 |
| Publication Date | Aug 28, 2024 |
| Deposit Date | Jul 16, 2024 |
| Publicly Available Date | Aug 28, 2024 |
| Publisher | Association for Computing Machinery (ACM) |
| Peer Reviewed | Peer Reviewed |
| Pages | 109-119 |
| Book Title | Haskell 2024: Proceedings of the 17th ACM SIGPLAN International Haskell Symposium |
| ISBN | 9798400711022 |
| DOI | https://doi.org/10.1145/3677999.3678283 |
| Public URL | https://nottingham-repository.worktribe.com/output/37306908 |
| Publisher URL | https://dl.acm.org/doi/10.1145/3677999.3678283 |
| External URL | https://icfp24.sigplan.org/home/haskellsymp-2024 |
Files
Paper
(553 Kb)
PDF
Calculating Compilers Eectively (Functional Pearl)
(198 Kb)
PDF
You might also like
Call-by-need is clairvoyant call-by-value
(2019)
Journal Article
Calculating Compilers for Concurrency
(2023)
Journal Article
Beyond Trees: Calculating Graph-Based Compilers (Functional Pearl)
(2024)
Journal Article
Calculating correct compilers
(2015)
Journal Article
Cutting out continuations
(2016)
Presentation / Conference Contribution
Downloadable Citations
About Repository@Nottingham
Administrator e-mail: discovery-access-systems@nottingham.ac.uk
This application uses the following open-source libraries:
SheetJS Community Edition
Apache License Version 2.0 (http://www.apache.org/licenses/)
PDF.js
Apache License Version 2.0 (http://www.apache.org/licenses/)
Font Awesome
SIL OFL 1.1 (http://scripts.sil.org/OFL)
MIT License (http://opensource.org/licenses/mit-license.html)
CC BY 3.0 ( http://creativecommons.org/licenses/by/3.0/)
Powered by Worktribe © 2025
Advanced Search