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. (2024, September). Calculating Compilers Effectively (Functional Pearl). Presented at Haskell '24: 17th ACM SIGPLAN International Haskell Symposium, Milan, Italy
Presentation Conference Type | Edited Proceedings |
---|---|
Conference Name | Haskell '24: 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 |
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
Beyond Trees: Calculating Graph-Based Compilers (Functional Pearl)
(2024)
Journal Article
Quotient Haskell: Lightweight Quotient Types for All
(2024)
Journal Article
Programming language semantics: It’s easy as 1,2,3
(2023)
Journal Article
Calculating Compilers for Concurrency
(2023)
Journal Article
Monadic compiler calculation (functional pearl)
(2022)
Journal Article
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 © 2024
Advanced Search