Defunctionalization at work

O Danvy, LR Nielsen - Proceedings of the 3rd ACM SIGPLAN …, 2001 - dl.acm.org
Reynolds's defunctionalization technique is a whole-program transformation from higher-
order to first-order functional programs. We study practical applications of this transformation …

Type soundness proofs with definitional interpreters

N Amin, T Rompf - Proceedings of the 44th ACM SIGPLAN Symposium …, 2017 - dl.acm.org
While type soundness proofs are taught in every graduate PL class, the gap between
realistic languages and what is accessible to formal proofs is large. In the case of Scala, it …

Type soundness for dependent object types (DOT)

T Rompf, N Amin - Proceedings of the 2016 ACM SIGPLAN International …, 2016 - dl.acm.org
Scala's type system unifies aspects of ML modules, object-oriented, and functional
programming. The Dependent Object Types (DOT) family of calculi has been proposed as a …

Distilling abstract machines

B Accattoli, P Barenbaum, D Mazza - ACM SIGPLAN Notices, 2014 - dl.acm.org
It is well-known that many environment-based abstract machines can be seen as strategies
in lambda calculi with explicit substitutions (ES). Recently, graphical syntaxes and linear …

Abstracting algebraic effects

D Biernacki, M Piróg, P Polesiuk… - Proceedings of the ACM …, 2019 - dl.acm.org
Proposed originally by Plotkin and Pretnar, algebraic effects and their handlers are a
leading-edge approach to computational effects: exceptions, mutable state, nondeterminism …

[PDF][PDF] Refocusing in reduction semantics

O Danvy, LR Nielsen - BRICS Report Series, 2004 - brics.dk
The evaluation function of a reduction semantics (ie, a small-step operational semantics with
an explicit representation of the reduction context) is canonically defined as the transitive …

Strong call-by-value is reasonable, implosively

B Accattoli, A Condoluci… - 2021 36th Annual ACM …, 2021 - ieeexplore.ieee.org
Whether the number of β-steps in the λ-calculus can be taken as a reasonable time cost
model (that is, polynomially related to the one of Turing machines) is a delicate problem …

A general fine-grained reduction theory for effect handlers

F Sieczkowski, M Pyzik, D Biernacki - Proceedings of the ACM on …, 2023 - dl.acm.org
Effect handlers are a modern and increasingly popular approach to structuring
computational effects in functional programming languages. However, while their traditional …

The logical basis of evaluation order and pattern-matching

N Zeilberger - 2009 - search.proquest.com
An old and celebrated analogy says that writing programs is like proving theorems. This
analogy has been productive in both directions, but in particular has demonstrated …

Defunctionalized interpreters for programming languages

O Danvy - ACM Sigplan Notices, 2008 - dl.acm.org
This document illustrates how functional implementations of formal semantics (structural
operational semantics, reduction semantics, small-step and big-step abstract machines …