Calculating Compilers Effectively (Functional Pearl)

Zac Garby, Graham Hutton, Patrick Bahr

Research output: Conference Article in Proceeding or Book/Report chapterArticle in proceedingsResearchpeer-review

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.
Original languageEnglish
Title of host publicationProceedings of the 17th ACM SIGPLAN International Haskell Symposium
Number of pages11
PublisherAssociation for Computing Machinery
Publication date29 Aug 2024
Pages109 - 119
DOIs
Publication statusPublished - 29 Aug 2024
Event17th ACM SIGPLAN International Haskell Symposium - Milan, Italy
Duration: 6 Sept 20247 Sept 2024

Conference

Conference17th ACM SIGPLAN International Haskell Symposium
Country/TerritoryItaly
CityMilan
Period06/09/202407/09/2024

Keywords

  • algebraic effects
  • monads
  • program calculation

Fingerprint

Dive into the research topics of 'Calculating Compilers Effectively (Functional Pearl)'. Together they form a unique fingerprint.

Cite this