2021
DOI: 10.1145/3460228
|View full text |Cite
|
Sign up to set email alerts
|

Compositional Programming

Abstract: Modularity is a key concern in programming. However, programming languages remain limited in terms of modularity and extensibility. Small canonical problems, such as the Expression Problem (EP), illustrate some of the basic issues: the dilemma between choosing one kind of extensibility over another one in most programming languages. Other problems, such as how to express dependencies in a modular way, add up to the basic issues and remain a significant challenge. This article presents a … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

2
8
0

Year Published

2022
2022
2023
2023

Publication Types

Select...
3
2
2

Relationship

2
5

Authors

Journals

citations
Cited by 13 publications
(10 citation statements)
references
References 46 publications
2
8
0
Order By: Relevance
“…We prove the typesoundness and determinism of F + i using a direct TDOS. These proofs validate the proofs of correctness previously presented for CP by Zhang et al [46]. Technical innovations.…”
Section: Cbn F +supporting
confidence: 85%
See 3 more Smart Citations
“…We prove the typesoundness and determinism of F + i using a direct TDOS. These proofs validate the proofs of correctness previously presented for CP by Zhang et al [46]. Technical innovations.…”
Section: Cbn F +supporting
confidence: 85%
“…To demonstrate the capabilities of Compositional Programming, we show how to solve a variant of the Expression Problem [42] in the CP language. Our solution is adapted from the original one by Zhang et al [46]. In this variant, in addition to the usual challenge of extensibility in multiple directions, we also consider the problem of context evolution [25,37], so the interpreter may require different contextual information for different features of the interpreter.…”
Section: Compositional Programming By Examplementioning
confidence: 99%
See 2 more Smart Citations
“…Wadler [1998] popularized the problem by coining the term "Expression Problem" and describing the requirements that a proper solution should meet. Thereafter, many solutions to the Expression Problem have been proposed [Carette et al 2009;Hofer et al 2008;Oliveira and Cook 2012;Swierstra 2008;Wang and Oliveira 2016;Odersky 2001, 2005;Zhang et al 2021], to list a few. However, solutions to the Expression Problem typically introduce extra complexity, parameterization, and indirections that may cause performance penalty or require boilerplate code Oliveira 2020, 2017].…”
Section: Related Workmentioning
confidence: 99%