add missing images
[phd-thesis.git] / other.bib
1
2 @mastersthesis{crooijmans_reducing_2021,
3 address = {Nijmegen},
4 title = {Reducing the {Power} {Consumption} of {IoT} {Devices} in {Task}-{Oriented} {Programming}},
5 language = {en},
6 school = {Radboud University},
7 author = {Crooijmans, Sjoerd},
8 month = jul,
9 year = {2021},
10 file = {Crooijmans - 2021 - Reducing the Power Consumption of IoT Devices in T.pdf:/home/mrl/.local/share/zotero/storage/98LY9YHH/Crooijmans - 2021 - Reducing the Power Consumption of IoT Devices in T.pdf:application/pdf},
11 }
12
13 @inproceedings{plasmeijer_task-oriented_2012,
14 address = {New York, NY, USA},
15 series = {{PPDP} '12},
16 title = {Task-{Oriented} {Programming} in a {Pure} {Functional} {Language}},
17 isbn = {978-1-4503-1522-7},
18 url = {https://doi.org/10.1145/2370776.2370801},
19 doi = {10.1145/2370776.2370801},
20 abstract = {Task-Oriented Programming (TOP) is a novel programming paradigm for the construction of distributed systems where users work together on the internet. When multiple users collaborate, they need to interact with each other frequently. TOP supports the definition of tasks that react to the progress made by others. With TOP, complex multi-user interactions can be programmed in a declarative style just by defining the tasks that have to be accomplished, thus eliminating the need to worry about the implementation detail that commonly frustrates the development of applications for this domain. TOP builds on four core concepts: tasks that represent computations or work to do which have an observable value that may change over time, data sharing enabling tasks to observe each other while the work is in progress, generic type driven generation of user interaction, and special combinators for sequential and parallel task composition. The semantics of these core concepts is defined in this paper. As an example we present the iTask3 framework, which embeds TOP in the functional programming language Clean.},
21 booktitle = {Proceedings of the 14th {Symposium} on {Principles} and {Practice} of {Declarative} {Programming}},
22 publisher = {Association for Computing Machinery},
23 author = {Plasmeijer, Rinus and Lijnse, Bas and Michels, Steffen and Achten, Peter and Koopman, Pieter},
24 year = {2012},
25 note = {event-place: Leuven, Belgium},
26 keywords = {clean, task-oriented programming},
27 pages = {195--206},
28 file = {103802.pdf:/home/mrl/.local/share/zotero/storage/ZE6A65AW/103802.pdf:application/pdf},
29 }
30
31 @inproceedings{brus_clean_1987,
32 address = {Berlin, Heidelberg},
33 title = {Clean — {A} language for functional graph rewriting},
34 isbn = {978-3-540-47879-9},
35 abstract = {Clean is an experimental language for specifying functional computations in terms of graph rewriting. It is based on an extension of Term Rewriting Systems (TRS) in which the terms are replaced by graphs. Such a Graph Rewriting System (GRS) consists of a, possibly cyclic, directed graph, called the data graph and graph rewrite rules which specify how this data graph may be rewritten. Clean is designed to provide a firm base for functional programming. In particular, Clean is suitable as an intermediate language between functional languages and (parallel) target machine architectures. A sequential implementation of Clean on a conventional machine is described and its performance is compared with other systems. The results show that Clean can be efficiently implemented.},
36 booktitle = {Functional {Programming} {Languages} and {Computer} {Architecture}},
37 publisher = {Springer Berlin Heidelberg},
38 author = {Brus, T. H. and van Eekelen, M. C. J. D. and van Leer, M. O. and Plasmeijer, M. J.},
39 editor = {Kahn, Gilles},
40 year = {1987},
41 pages = {364--384},
42 file = {brut87-Clean.ps.gz:/home/mrl/.local/share/zotero/storage/T2QATWIE/brut87-Clean.ps.gz:application/gzip},
43 }
44
45 @misc{bolingbroke_constraint_2011,
46 title = {Constraint {Kinds} for {GHC}},
47 url = {http://blog.omega-prime.co.uk/2011/09/10/constraint-kinds-for-ghc/},
48 urldate = {2021-06-09},
49 journal = {:: (Bloggable a) ={\textgreater} a -{\textgreater} IO ()},
50 author = {Bolingbroke, Max},
51 month = sep,
52 year = {2011},
53 file = {Constraint Kinds for GHC:/home/mrl/.local/share/zotero/storage/R6RL79K7/constraint-kinds-for-ghc.html:text/html},
54 }
55
56 @inproceedings{fegaras_revisiting_1996,
57 address = {New York, NY, USA},
58 series = {{POPL} '96},
59 title = {Revisiting {Catamorphisms} over {Datatypes} with {Embedded} {Functions} (or, {Programs} from {Outer} {Space})},
60 isbn = {0-89791-769-3},
61 url = {https://doi.org/10.1145/237721.237792},
62 doi = {10.1145/237721.237792},
63 abstract = {We revisit the work of Paterson and of Meijer \& Hutton, which describes how to construct catamorphisms for recursive datatype definitions that embed contravariant occurrences of the type being defined. Their construction requires, for each catamorphism, the definition of an anamorphism that has an inverse-like relationship to that catamorphism. We present an alternative construction, which replaces the stringent requirement that an inverse anamorphism be defined for each catamorphism with a more lenient restriction. The resulting construction has a more efficient implementation than that of Paterson, Meijer, and Hutton and the relevant restriction can be enforced by a Hindley-Milner type inference algorithm. We provide numerous examples illustrating our method.},
64 booktitle = {Proceedings of the 23rd {ACM} {SIGPLAN}-{SIGACT} {Symposium} on {Principles} of {Programming} {Languages}},
65 publisher = {Association for Computing Machinery},
66 author = {Fegaras, Leonidas and Sheard, Tim},
67 year = {1996},
68 note = {event-place: St. Petersburg Beach, Florida, USA},
69 pages = {284--294},
70 file = {Fegaras and Sheard - 1996 - Revisiting Catamorphisms over Datatypes with Embed.pdf:/home/mrl/.local/share/zotero/storage/WCSRVWGC/Fegaras and Sheard - 1996 - Revisiting Catamorphisms over Datatypes with Embed.pdf:application/pdf},
71 }
72
73 @inproceedings{pfenning_higher-order_1988,
74 address = {New York, NY, USA},
75 series = {{PLDI} '88},
76 title = {Higher-{Order} {Abstract} {Syntax}},
77 isbn = {0-89791-269-1},
78 url = {https://doi.org/10.1145/53990.54010},
79 doi = {10.1145/53990.54010},
80 abstract = {We describe motivation, design, use, and implementation of higher-order abstract syntax as a central representation for programs, formulas, rules, and other syntactic objects in program manipulation and other formal systems where matching and substitution or unification are central operations. Higher-order abstract syntax incorporates name binding information in a uniform and language generic way. Thus it acts as a powerful link integrating diverse tools in such formal environments. We have implemented higher-order abstract syntax, a supporting matching and unification algorithm, and some clients in Common Lisp in the framework of the Ergo project at Carnegie Mellon University.},
81 booktitle = {Proceedings of the {ACM} {SIGPLAN} 1988 {Conference} on {Programming} {Language} {Design} and {Implementation}},
82 publisher = {Association for Computing Machinery},
83 author = {Pfenning, F. and Elliott, C.},
84 year = {1988},
85 note = {event-place: Atlanta, Georgia, USA},
86 pages = {199--208},
87 file = {Pfenning and Elliott - 1988 - Higher-Order Abstract Syntax.pdf:/home/mrl/.local/share/zotero/storage/2HSRWURK/Pfenning and Elliott - 1988 - Higher-Order Abstract Syntax.pdf:application/pdf},
88 }
89
90 @inproceedings{chlipala_parametric_2008,
91 address = {New York, NY, USA},
92 series = {{ICFP} '08},
93 title = {Parametric {Higher}-{Order} {Abstract} {Syntax} for {Mechanized} {Semantics}},
94 isbn = {978-1-59593-919-7},
95 url = {https://doi.org/10.1145/1411204.1411226},
96 doi = {10.1145/1411204.1411226},
97 abstract = {We present parametric higher-order abstract syntax (PHOAS), a new approach to formalizing the syntax of programming languages in computer proof assistants based on type theory. Like higher-order abstract syntax (HOAS), PHOAS uses the meta language's binding constructs to represent the object language's binding constructs. Unlike HOAS, PHOAS types are definable in general-purpose type theories that support traditional functional programming, like Coq's Calculus of Inductive Constructions. We walk through how Coq can be used to develop certified, executable program transformations over several statically-typed functional programming languages formalized with PHOAS; that is, each transformation has a machine-checked proof of type preservation and semantic preservation. Our examples include CPS translation and closure conversion for simply-typed lambda calculus, CPS translation for System F, and translation from a language with ML-style pattern matching to a simpler language with no variable-arity binding constructs. By avoiding the syntactic hassle associated with first-order representation techniques, we achieve a very high degree of proof automation.},
98 booktitle = {Proceedings of the 13th {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming}},
99 publisher = {Association for Computing Machinery},
100 author = {Chlipala, Adam},
101 year = {2008},
102 note = {event-place: Victoria, BC, Canada},
103 keywords = {compiler verification, dependent types, interactive proof assistants, type-theoretic semantics},
104 pages = {143--156},
105 file = {Chlipala - 2008 - Parametric Higher-Order Abstract Syntax for Mechan.pdf:/home/mrl/.local/share/zotero/storage/DZ33DAMU/Chlipala - 2008 - Parametric Higher-Order Abstract Syntax for Mechan.pdf:application/pdf},
106 }
107
108 @incollection{reynolds_user-defined_1978,
109 address = {New York, NY},
110 title = {User-{Defined} {Types} and {Procedural} {Data} {Structures} as {Complementary} {Approaches} to {Data} {Abstraction}},
111 isbn = {978-1-4612-6315-9},
112 url = {https://doi.org/10.1007/978-1-4612-6315-9_22},
113 abstract = {User-defined types (or modes) and procedural (or functional) data structures are complementary methods for data abstraction, each providing a capability lacked by the other. With user-defined types, all information about the representation of a particular kind of data is centralized in a type definition and hidden from the rest of the program. With procedural data structures, each part of the program which creates data can specify its own representation, independently of any representations used elsewhere for the same kind of data. However, this decentralization of the description of data is achieved at the cost of prohibiting primitive operations from accessing the representations of more than one data item. The contrast between these approaches is illustrated by a simple example.},
114 booktitle = {Programming {Methodology}: {A} {Collection} of {Articles} by {Members} of {IFIP} {WG2}.3},
115 publisher = {Springer New York},
116 author = {Reynolds, John C.},
117 editor = {Gries, David},
118 year = {1978},
119 doi = {10.1007/978-1-4612-6315-9_22},
120 pages = {309--317},
121 file = {Reynolds - 1978 - User-Defined Types and Procedural Data Structures .pdf:/home/mrl/.local/share/zotero/storage/ASXE73U2/Reynolds - 1978 - User-Defined Types and Procedural Data Structures .pdf:application/pdf},
122 }
123
124 @misc{ghc_team_ghc_2021,
125 title = {{GHC} {User}’s {Guide} {Documentation}},
126 url = {https://downloads.haskell.org/~ghc/latest/docs/users_guide.pdf},
127 language = {English},
128 urldate = {2021-02-24},
129 publisher = {Release},
130 author = {GHC Team},
131 year = {2021},
132 file = {GHC Team - 2021 - GHC User’s Guide Documentation.pdf:/home/mrl/.local/share/zotero/storage/87ZT5VXL/GHC Team - 2021 - GHC User’s Guide Documentation.pdf:application/pdf},
133 }
134
135 @misc{ghc_team_datadynamic_2021,
136 title = {Data.{Dynamic}},
137 url = {https://hackage.haskell.org/package/base-4.14.1.0/docs/Data-Dynamic.html},
138 language = {English},
139 urldate = {2021-02-24},
140 publisher = {Release},
141 author = {GHC Team},
142 year = {2021},
143 }
144
145 @inproceedings{jeuring_polytypic_1996,
146 address = {Berlin, Heidelberg},
147 title = {Polytypic programming},
148 isbn = {978-3-540-70639-7},
149 abstract = {Many functions have to be written over and over again for different datatypes, either because datatypes change during the development of programs, or because functions with similar functionality are needed on different datatypes. Examples of such functions are pretty printers, debuggers, equality functions, unifiers, pattern matchers, rewriting functions, etc. Such functions are called polytypic functions. A polytypic function is a function that is defined by induction on the structure of user-defined datatypes. This paper introduces polytypic functions, and shows how to construct and reason about polytypic functions. A larger example is studied in detail: polytypic functions for term rewriting and for determining whether a collection of rewrite rules is normalising.},
150 booktitle = {Advanced {Functional} {Programming}},
151 publisher = {Springer Berlin Heidelberg},
152 author = {Jeuring, Johan and Jansson, Patrik},
153 editor = {Launchbury, John and Meijer, Erik and Sheard, Tim},
154 year = {1996},
155 pages = {68--114},
156 file = {Jeuring and Jansson - 1996 - Polytypic programming.pdf:/home/mrl/.local/share/zotero/storage/SLC4G2IT/Jeuring and Jansson - 1996 - Polytypic programming.pdf:application/pdf},
157 }
158
159 @book{peyton_jones_haskell_2003,
160 address = {Cambridge},
161 title = {Haskell 98 language and libraries: the revised report},
162 isbn = {0-521 826144},
163 publisher = {Cambridge University Press},
164 editor = {Peyton Jones, Simon},
165 year = {2003},
166 file = {Peyton Jones - 2003 - Haskell 98 language and libraries the revised rep.pdf:/home/mrl/.local/share/zotero/storage/UXEJT89I/Peyton Jones - 2003 - Haskell 98 language and libraries the revised rep.pdf:application/pdf},
167 }
168
169 @inproceedings{laufer_combining_1994,
170 title = {Combining type classes and existential types},
171 booktitle = {Proceedings of the {Latin} {American} {Informatic} {Conference} ({PANEL})},
172 publisher = {ITESM-CEM},
173 author = {Läufer, Konstantin},
174 year = {1994},
175 note = {event-place: Monterrey, Mexico},
176 file = {Läufer - COMBINING TYPE CLASSES AND EXISTENTIAL TYPES.pdf:/home/mrl/.local/share/zotero/storage/KR4P9EHS/Läufer - COMBINING TYPE CLASSES AND EXISTENTIAL TYPES.pdf:application/pdf},
177 }
178
179 @techreport{hughes_restricted_1999,
180 address = {Paris},
181 title = {Restricted data types in {Haskell}},
182 number = {UU-CS-1999-28},
183 institution = {Department of Information and Computing Sciences, Utrecht University},
184 author = {Hughes, John},
185 year = {1999},
186 pages = {16},
187 file = {Hughes - 1999 - Restricted data types in Haskell.pdf:/home/mrl/.local/share/zotero/storage/7ZE2MYWE/Hughes - 1999 - Restricted data types in Haskell.pdf:application/pdf},
188 }
189
190 @article{najd_trees_2017,
191 title = {Trees that {Grow}},
192 volume = {23},
193 abstract = {We study the notion of extensibility in functional data types, as a new approach to the problem of decorating abstract syntax trees with additional information. We observed the need for such extensibility while redesigning the data types representing Haskell abstract syntax inside Glasgow Haskell Compiler (GHC). Specifically, we describe a programming idiom that exploits type-level functions to allow a particular form of extensibility. The approach scales to support existentials and generalised algebraic data types, and we can use pattern synonyms to make it convenient in practice.},
194 number = {1},
195 journal = {Journal of Universal Computer Science},
196 author = {Najd, Shayan and Peyton Jones, Simon},
197 month = jan,
198 year = {2017},
199 pages = {42--62},
200 file = {Najd and Jones - 2017 - Trees that Grow.pdf:/home/mrl/.local/share/zotero/storage/HYQFTWZP/Najd and Jones - 2017 - Trees that Grow.pdf:application/pdf},
201 }
202
203 @inproceedings{loh_open_2006,
204 address = {New York, NY, USA},
205 series = {{PPDP} '06},
206 title = {Open {Data} {Types} and {Open} {Functions}},
207 isbn = {1-59593-388-3},
208 url = {https://doi.org/10.1145/1140335.1140352},
209 doi = {10.1145/1140335.1140352},
210 abstract = {The problem of supporting the modular extensibility of both data and functions in one programming language at the same time is known as the expression problem. Functional languages traditionally make it easy to add new functions, but extending data (adding new data constructors) requires modifying existing code. We present a semantically and syntactically lightweight variant of open data types and open functions as a solution to the expression problem in the Haskell language. Constructors of open data types and equations of open functions may appear scattered throughout a program with several modules. The intended semantics is as follows: the program should behave as if the data types and functions were closed, defined in one place. The order of function equations is determined by best-fit pattern matching, where a specific pattern takes precedence over an unspecific one. We show that our solution is applicable to the expression problem, generic programming, and exceptions. We sketch two implementations: a direct implementation of the semantics, and a scheme based on mutually recursive modules that permits separate compilation},
211 booktitle = {Proceedings of the 8th {ACM} {SIGPLAN} {International} {Conference} on {Principles} and {Practice} of {Declarative} {Programming}},
212 publisher = {Association for Computing Machinery},
213 author = {Löh, Andres and Hinze, Ralf},
214 year = {2006},
215 note = {event-place: Venice, Italy},
216 keywords = {functional programming, Haskell, expression problem, extensible data types, extensible exceptions, extensible functions, generic programming, mutually recursive modules},
217 pages = {133--144},
218 file = {OpenDatatypes.pdf:/home/mrl/.local/share/zotero/storage/NEP9GZ9N/OpenDatatypes.pdf:application/pdf},
219 }
220
221 @inproceedings{hutton_fold_1998,
222 address = {New York, NY, USA},
223 series = {{ICFP} '98},
224 title = {Fold and {Unfold} for {Program} {Semantics}},
225 isbn = {1-58113-024-4},
226 url = {https://doi.org/10.1145/289423.289457},
227 doi = {10.1145/289423.289457},
228 abstract = {In this paper we explain how recursion operators can be used to structure and reason about program semantics within a functional language. In particular, we show how the recursion operator fold can be used to structure denotational semantics, how the dual recursion operator unfold can be used to structure operational semantics, and how algebraic properties of these operators can be used to reason about program semantics. The techniques are explained with the aid of two main examples, the first concerning arithmetic expressions, and the second concerning Milner's concurrent language CCS. The aim of the paper is to give functional programmers new insights into recursion operators, program semantics, and the relationships between them.},
229 booktitle = {Proceedings of the {Third} {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming}},
230 publisher = {Association for Computing Machinery},
231 author = {Hutton, Graham},
232 year = {1998},
233 note = {event-place: Baltimore, Maryland, USA},
234 pages = {280--288},
235 file = {Hutton - 1998 - Fold and unfold for program semantics.pdf:/home/mrl/.local/share/zotero/storage/YEB9K2TP/Hutton - 1998 - Fold and unfold for program semantics.pdf:application/pdf},
236 }
237
238 @article{abadi_dynamic_1991,
239 title = {Dynamic {Typing} in a {Statically} {Typed} {Language}},
240 volume = {13},
241 issn = {0164-0925},
242 url = {https://doi.org/10.1145/103135.103138},
243 doi = {10.1145/103135.103138},
244 abstract = {Statically typed programming languages allow earlier error checking, better enforcement of diciplined programming styles, and the generation of more efficient object code than languages where all type consistency checks are performed at run time. However, even in statically typed languages, there is often the need to deal with datawhose type cannot be determined at compile time. To handle such situations safely, we propose to add a type Dynamic whose values are pairs of a value v and a type tag T where v has the type denoted by T. Instances of Dynamic are built with an explicit tagging construct and inspected with a type safe typecase construct.This paper explores the syntax, operational semantics, and denotational semantics of a simple language that includes the type Dynamic. We give examples of how dynamically typed values can be used in programming. Then we discuss an operational semantics for our language and obtain a soundness theorem. We present two formulations of the denotational semantics of this language and relate them to the operational semantics. Finally, we consider the implications of polymorphism and some implementation issues.},
245 number = {2},
246 journal = {ACM Trans. Program. Lang. Syst.},
247 author = {Abadi, Martín and Cardelli, Luca and Pierce, Benjamin and Plotkin, Gordon},
248 month = apr,
249 year = {1991},
250 note = {Place: New York, NY, USA
251 Publisher: Association for Computing Machinery},
252 keywords = {theory},
253 pages = {237--268},
254 file = {Abadi et al. - 1991 - Dynamic typing in a statically typed language.pdf:/home/mrl/.local/share/zotero/storage/CJSBG6X7/Abadi et al. - 1991 - Dynamic typing in a statically typed language.pdf:application/pdf},
255 }
256
257 @inproceedings{svenningsson_combining_2013,
258 address = {Berlin, Heidelberg},
259 title = {Combining {Deep} and {Shallow} {Embedding} for {EDSL}},
260 isbn = {978-3-642-40447-4},
261 doi = {10.1007/978-3-642-40447-4_2},
262 abstract = {When compiling embedded languages it is natural to use an abstract syntax tree to represent programs. This is known as a deep embedding and it is a rather cumbersome technique compared to other forms of embedding, typically leading to more code and being harder to extend. In shallow embeddings, language constructs are mapped directly to their semantics which yields more flexible and succinct implementations. But shallow embeddings are not well-suited for compiling embedded languages. We present a technique to combine deep and shallow embedding in the context of compiling embedded languages in order to provide the benefits of both techniques. In particular it helps keeping the deep embedding small and it makes extending the embedded language much easier. Our technique also has some unexpected but welcome knock-on effects. It provides fusion of functions to remove intermediate results for free without any additional effort. It also helps to give the embedded language a more natural programming interface.},
263 booktitle = {Trends in {Functional} {Programming}},
264 publisher = {Springer Berlin Heidelberg},
265 author = {Svenningsson, Josef and Axelsson, Emil},
266 editor = {Loidl, Hans-Wolfgang and Peña, Ricardo},
267 year = {2013},
268 pages = {21--36},
269 file = {svenningsson2013combining.pdf:/home/mrl/.local/share/zotero/storage/NFBGZCZT/svenningsson2013combining.pdf:application/pdf},
270 }
271
272 @article{mitchell_abstract_1988,
273 title = {Abstract {Types} {Have} {Existential} {Type}},
274 volume = {10},
275 issn = {0164-0925},
276 url = {https://doi.org/10.1145/44501.45065},
277 doi = {10.1145/44501.45065},
278 abstract = {Abstract data type declarations appear in typed programming languages like Ada, Alphard, CLU and ML. This form of declaration binds a list of identifiers to a type with associated operations, a composite “value” we call a data algebra. We use a second-order typed lambda calculus SOL to show how data algebras may be given types, passed as parameters, and returned as results of function calls. In the process, we discuss the semantics of abstract data type declarations and review a connection between typed programming languages and constructive logic.},
279 number = {3},
280 journal = {ACM Trans. Program. Lang. Syst.},
281 author = {Mitchell, John C. and Plotkin, Gordon D.},
282 month = jul,
283 year = {1988},
284 note = {Place: New York, NY, USA
285 Publisher: Association for Computing Machinery},
286 pages = {470--502},
287 file = {Mitchell and Plotkin - 1988 - Abstract types have existential type.pdf:/home/mrl/.local/share/zotero/storage/QXDE5H7C/Mitchell and Plotkin - 1988 - Abstract types have existential type.pdf:application/pdf},
288 }
289
290 @inproceedings{yorgey_giving_2012,
291 address = {New York, NY, USA},
292 series = {{TLDI} '12},
293 title = {Giving {Haskell} a {Promotion}},
294 isbn = {978-1-4503-1120-5},
295 url = {https://doi.org/10.1145/2103786.2103795},
296 doi = {10.1145/2103786.2103795},
297 abstract = {Static type systems strive to be richly expressive while still being simple enough for programmers to use. We describe an experiment that enriches Haskell's kind system with two features promoted from its type system: data types and polymorphism. The new system has a very good power-to-weight ratio: it offers a significant improvement in expressiveness, but, by re-using concepts that programmers are already familiar with, the system is easy to understand and implement.},
298 booktitle = {Proceedings of the 8th {ACM} {SIGPLAN} {Workshop} on {Types} in {Language} {Design} and {Implementation}},
299 publisher = {Association for Computing Machinery},
300 author = {Yorgey, Brent A. and Weirich, Stephanie and Cretin, Julien and Peyton Jones, Simon and Vytiniotis, Dimitrios and Magalhães, José Pedro},
301 year = {2012},
302 note = {event-place: Philadelphia, Pennsylvania, USA},
303 keywords = {haskell, kinds, polymorphism, promotion},
304 pages = {53--66},
305 file = {Yorgey et al. - 2012 - Giving Haskell a Promotion.pdf:/home/mrl/.local/share/zotero/storage/7GTDGQ3I/Yorgey et al. - 2012 - Giving Haskell a Promotion.pdf:application/pdf},
306 }
307
308 @inproceedings{atkey_unembedding_2009,
309 address = {New York, NY, USA},
310 series = {Haskell '09},
311 title = {Unembedding {Domain}-{Specific} {Languages}},
312 isbn = {978-1-60558-508-6},
313 url = {https://doi.org/10.1145/1596638.1596644},
314 doi = {10.1145/1596638.1596644},
315 abstract = {Higher-order abstract syntax provides a convenient way of embedding domain-specific languages, but is awkward to analyse and manipulate directly. We explore the boundaries of higher-order abstract syntax. Our key tool is the unembedding of embedded terms as de Bruijn terms, enabling intensional analysis. As part of our solution we present techniques for separating the definition of an embedded program from its interpretation, giving modular extensions of the embedded language, and different ways to encode the types of the embedded language.},
316 booktitle = {Proceedings of the 2nd {ACM} {SIGPLAN} {Symposium} on {Haskell}},
317 publisher = {Association for Computing Machinery},
318 author = {Atkey, Robert and Lindley, Sam and Yallop, Jeremy},
319 year = {2009},
320 note = {event-place: Edinburgh, Scotland},
321 keywords = {domain-specific languages, higher-order abstract syntax, type classes, unembedding},
322 pages = {37--48},
323 file = {Atkey et al. - 2009 - Unembedding Domain-Specific Languages.pdf:/home/mrl/.local/share/zotero/storage/GVFRIDUG/Atkey et al. - 2009 - Unembedding Domain-Specific Languages.pdf:application/pdf},
324 }
325
326 @inproceedings{krishnamurthi_synthesizing_1998,
327 address = {Berlin, Heidelberg},
328 title = {Synthesizing object-oriented and functional design to promote re-use},
329 isbn = {978-3-540-69064-1},
330 abstract = {Many problems require recursively specified types of data and a collection of tools that operate on those data. Over time, these problems evolve so that the programmer must extend the toolkit or extend the types and adjust the existing tools accordingly. Ideally, this should be done without modifying existing code. Unfortunately, the prevailing program design strategies do not support both forms of extensibility: functional programming accommodates the addition of tools, while object-oriented programming supports either adding new tools or extending the data set, but not both. In this paper, we present a composite design pattern that synthesizes the best of both approaches and in the process resolves the tension between the two design strategies. We also show how this protocol suggests a new set of linguistic facilities for languages that support class systems.},
331 booktitle = {{ECOOP}'98{Object}-{Oriented} {Programming}},
332 publisher = {Springer Berlin Heidelberg},
333 author = {Krishnamurthi, Shriram and Felleisen, Matthias and Friedman, Daniel P.},
334 editor = {Jul, Eric},
335 year = {1998},
336 note = {event-place: Brussels, Belgium},
337 pages = {91--113},
338 file = {Krishnamurthi et al. - 1998 - Synthesizing object-oriented and functional design.pdf:/home/mrl/.local/share/zotero/storage/AMMULPPT/Krishnamurthi et al. - 1998 - Synthesizing object-oriented and functional design.pdf:application/pdf},
339 }
340
341 @incollection{gibbons_functional_2015,
342 address = {Cham},
343 title = {Functional {Programming} for {Domain}-{Specific} {Languages}},
344 isbn = {978-3-319-15940-9},
345 url = {https://doi.org/10.1007/978-3-319-15940-9_1},
346 abstract = {Domain-specific languages are a popular application area for functional programming; and conversely, functional programming is a popular implementation vehicle for domain-specific languages—at least, for embedded ones. Why is this? The appeal of embedded domain-specific languages is greatly enhanced by the presence of convenient lightweight tools for defining, implementing, and optimising new languages; such tools represent one of functional programming's strengths. In these lectures we discuss functional programming techniques for embedded domain-specific languages; we focus especially on algebraic datatypes and higher-order functions, and their influence on deep and shallow embeddings.},
347 booktitle = {Central {European} {Functional} {Programming} {School}: 5th {Summer} {School}, {CEFP} 2013, {Cluj}-{Napoca}, {Romania}, {July} 8-20, 2013, {Revised} {Selected} {Papers}},
348 publisher = {Springer International Publishing},
349 author = {Gibbons, Jeremy},
350 editor = {Zsók, Viktória and Horváth, Zoltán and Csató, Lehel},
351 year = {2015},
352 doi = {10.1007/978-3-319-15940-9_1},
353 pages = {1--28},
354 file = {Gibbons - 2015 - Functional Programming for Domain-Specific Languag.pdf:/home/mrl/.local/share/zotero/storage/ARUBLFU6/Gibbons - 2015 - Functional Programming for Domain-Specific Languag.pdf:application/pdf},
355 }
356
357 @incollection{lubbers_writing_2019,
358 address = {Cham},
359 title = {Writing {Internet} of {Things} applications with {Task} {Oriented} {Programming}},
360 abstract = {The Internet of Things (IOT) is growing fast. In 2018, there was approximately one connected device per person on earth and the number has been growing ever since. The devices interact with the environment via different modalities at the same time using sensors and actuators making the programs parallel. Yet, writing this type of programs is difficult because the devices have little computation power and memory, the platforms are heterogeneous and the languages are low level. Task Oriented Programming (TOP) is a novel declarative programming language paradigm that is used to express coordination of work, collaboration of users and systems, the distribution of shared data and the human computer interaction. The mTask language is a specialized, yet full-fledged, multi-backend TOP language for IOT devices. With the bytecode interpretation backend and the integration with iTasks, tasks can be executed on the device dynamically. This means that —according to the current state of affairs— tasks can be tailor-made at run time, compiled to device-agnostic bytecode and shipped to the device for interpretation. Tasks sent to the device are fully integrated in iTasks to allow every form of interaction with the tasks such as observation of the task value and interaction with Shared Data Sources (SDSs). The application is —server and devices— are programmed in a single language, albeit using two embedded Domain Specific Languages (EDSLs).},
361 language = {en},
362 booktitle = {Central {European} {Functional} {Programming} {School}: 8th {Summer} {School}, {CEFP} 2019, {Budapest}, {Hungary}, {July} 1721, 2019, {Revised} {Selected} {Papers}},
363 publisher = {Springer International Publishing},
364 author = {Lubbers, Mart and Koopman, Pieter and Plasmeijer, Rinus},
365 year = {2019},
366 pages = {51},
367 file = {Lubbers - Writing Internet of Things applications with Task .pdf:/home/mrl/.local/share/zotero/storage/ILZIBYW5/Lubbers - Writing Internet of Things applications with Task .pdf:application/pdf},
368 }
369
370 @mastersthesis{veen_van_der_mutable_2020,
371 address = {Nijmegen},
372 title = {Mutable {Collection} {Types} in {Shallow} {Embedded} {DSLs}},
373 language = {en},
374 school = {Radboud University},
375 author = {Veen, van der, Erin},
376 month = jun,
377 year = {2020},
378 file = {thesis_final.pdf:/home/mrl/.local/share/zotero/storage/Y9QWGGB9/thesis_final.pdf:application/pdf},
379 }
380
381 @phdthesis{alimarine_generic_2005,
382 address = {Nijmegen},
383 type = {{PhD}},
384 title = {Generic {Functional} {Programming}},
385 language = {en},
386 school = {Radboud University},
387 author = {Alimarine, Artem},
388 year = {2005},
389 file = {Alimarine - Generic Functional Programming.pdf:/home/mrl/.local/share/zotero/storage/PDTS3SGX/Alimarine - Generic Functional Programming.pdf:application/pdf},
390 }
391
392 @phdthesis{boer_de_secure_2020,
393 address = {Nijmegen},
394 type = {Bachelor's {Thesis}},
395 title = {Secure {Communication} {Channels} for the {mTask} {System}.},
396 language = {en},
397 school = {Radboud University},
398 author = {Boer, de, Michel},
399 month = jun,
400 year = {2020},
401 file = {Boer, de - 2020 - Secure Communication Channels for the mTask System.pdf:/home/mrl/.local/share/zotero/storage/C46E3FBF/Boer, de - 2020 - Secure Communication Channels for the mTask System.pdf:application/pdf},
402 }
403
404 @inproceedings{barendregt_towards_1987,
405 title = {Towards an intermediate language for graph rewriting},
406 volume = {1},
407 booktitle = {{PARLE}, {Parallel} {Architectures} and {Languages} {Europe}},
408 publisher = {Springer Verlag},
409 author = {Barendregt, HP and van Eekelen, MCJD and Glauert, JRW and Kennaway, JR and Plasmeijer, MJ and Sleep, MR},
410 year = {1987},
411 pages = {159--174},
412 file = {barh87-Lean.ps.gz:/home/mrl/.local/share/zotero/storage/63FBHND7/barh87-Lean.ps.gz:application/gzip},
413 }
414
415 @incollection{wang_maintaining_2018,
416 address = {Cham},
417 title = {Maintaining {Separation} of {Concerns} {Through} {Task} {Oriented} {Software} {Development}},
418 volume = {10788},
419 isbn = {978-3-319-89718-9 978-3-319-89719-6},
420 url = {http://link.springer.com/10.1007/978-3-319-89719-6_2},
421 abstract = {Task Oriented Programming is a programming paradigm that enhances ‘classic’ functional programming with means to express the coordination of work among people and computer systems, the distribution and control of data sources, and the human-machine interfaces. To make the creation process of such applications feasible, it is important to have separation of concerns. In this paper we demonstrate how this is achieved within the Task Oriented Software Development process and illustrate the approach by means of a case study.},
422 language = {en},
423 urldate = {2019-01-14},
424 booktitle = {Trends in {Functional} {Programming}},
425 publisher = {Springer International Publishing},
426 author = {Stutterheim, Jurriën and Achten, Peter and Plasmeijer, Rinus},
427 editor = {Wang, Meng and Owens, Scott},
428 year = {2018},
429 doi = {10.1007/978-3-319-89719-6},
430 pages = {19--38},
431 file = {Stutterheim et al. - 2018 - Maintaining Separation of Concerns Through Task Or.pdf:/home/mrl/.local/share/zotero/storage/4GXJEM2U/Stutterheim et al. - 2018 - Maintaining Separation of Concerns Through Task Or.pdf:application/pdf},
432 }
433
434 @article{barendsen_uniqueness_1996,
435 title = {Uniqueness typing for functional languages with graph rewriting semantics},
436 volume = {6},
437 number = {6},
438 journal = {Mathematical structures in computer science},
439 author = {Barendsen, Erik and Smetsers, Sjaak},
440 year = {1996},
441 pages = {579--612},
442 file = {Barendsen and Smetsers - 1996 - Uniqueness typing for functional languages with gr.pdf:/home/mrl/.local/share/zotero/storage/BPRC6KJK/Barendsen and Smetsers - 1996 - Uniqueness typing for functional languages with gr.pdf:application/pdf},
443 }
444
445 @mastersthesis{bohm_asynchronous_2019,
446 address = {Nijmegen},
447 title = {Asynchronous {Actions} in a {Synchronous} {World}},
448 abstract = {This thesis introduces a system for asynchronous communication in the iTasks framework. The
449 framework is written in Clean, a pure, lazy, functional language. Tasks need to be able to access
450 data in the system and retrieve data from all kinds of data sources. The share system allows
451 tasks to read arbitrary data sources and provides a simple interface that allows composition of
452 different data sources. This system allows tasks to share and store data in an efficient, re-usable
453 way.
454 A disadvantage of the share system is that it does not allow asynchronous evaluation. When
455 one task is using a share, other tasks have to wait for the full evaluation of this share before they
456 can be evaluated. This has the effect that users in the iTasks framework must wait on other
457 users. This results in poor user experience.
458 We implement a share system which, by way of share rewriting, allows asynchronous evalua-
459 tion. The system can be used to communicate with arbitrary services on the internet, as well as
460 to communicate between different iTasks servers in a distributed context.
461 We show how asynchronous shares are implemented and what the limitations are. We also
462 show multiple practical examples of using asynchronous shares. The new system can be effectively
463 used to consume services on the internet. It fits nicely into existing iTasks programs and requires
464 few changes in existing programs.},
465 language = {en},
466 school = {Radboud University},
467 author = {Böhm, Haye},
468 month = jan,
469 year = {2019},
470 file = {Bohm - Asynchronous Actions in a Synchronous World.pdf:/home/mrl/.local/share/zotero/storage/D3IYPAM5/Bohm - Asynchronous Actions in a Synchronous World.pdf:application/pdf},
471 }
472
473 @inproceedings{hentschel_supersensors:_2016,
474 address = {Vienna, Austria},
475 title = {Supersensors: {Raspberry} {Pi} {Devices} for {Smart} {Campus} {Infrastructure}},
476 isbn = {978-1-5090-4052-0},
477 shorttitle = {Supersensors},
478 url = {http://ieeexplore.ieee.org/document/7575844/},
479 doi = {10.1109/FiCloud.2016.16},
480 abstract = {We describe an approach for developing a campuswide sensor network using commodity single board computers. We sketch various use cases for environmental sensor data, for different university stakeholders. Our key premise is that supersensors—sensors with significant compute capability—enable more flexible data collection, processing and reaction. In this paper, we describe the initial prototype deployment of our supersensor system in a single department at the University of Glasgow.},
481 language = {en},
482 urldate = {2019-09-04},
483 booktitle = {2016 {IEEE} 4th {International} {Conference} on {Future} {Internet} of {Things} and {Cloud} ({FiCloud})},
484 publisher = {IEEE},
485 author = {Hentschel, Kristian and Jacob, Dejice and Singer, Jeremy and Chalmers, Matthew},
486 month = aug,
487 year = {2016},
488 pages = {58--62},
489 file = {Hentschel et al. - 2016 - Supersensors Raspberry Pi Devices for Smart Campu.pdf:/home/mrl/.local/share/zotero/storage/ATK53FN2/Hentschel et al. - 2016 - Supersensors Raspberry Pi Devices for Smart Campu.pdf:application/pdf},
490 }
491
492 @inproceedings{feijs_multi-tasking_2013,
493 address = {Wuxi, China},
494 title = {Multi-tasking and {Arduino} : why and how?},
495 isbn = {978-90-386-3462-3},
496 abstract = {In this article I argue that it is important to develop experiential prototypes which have multi-tasking capabilities. At the same time I show that for embedded prototype software based on the popular Arduino platform this is not too difficult. The approach is explained and illustrated using technical examples – practical and hands-on, down to the code level. At the same time a few helpful notations for designing and documenting the software are introduced and illustrated by the same examples. Finally a few case studies of the technical approach are listed.},
497 language = {English},
498 booktitle = {Design and semantics of form and movement. 8th {International} {Conference} on {Design} and {Semantics} of {Form} and {Movement} ({DeSForM} 2013)},
499 author = {Feijs, Loe},
500 editor = {Chen, L. L. and Djajadiningrat, T. and Feijs, L. M. G. and Fraser, S. and Hu, J. and Kyffin, S. and Steffen, D.},
501 year = {2013},
502 pages = {119--127},
503 file = {Feijs - 2013 - Multi-tasking and Arduino why and how.pdf:/home/mrl/.local/share/zotero/storage/8A3Q8LHA/Feijs - 2013 - Multi-tasking and Arduino why and how.pdf:application/pdf},
504 }
505
506 @misc{achten_clean_2007,
507 title = {Clean for {Haskell98} {Programmers}},
508 url = {https://www.mbsd.cs.ru.nl/publications/papers/2007/achp2007-CleanHaskellQuickGuide.pdf},
509 language = {en},
510 author = {Achten, Peter},
511 month = jul,
512 year = {2007},
513 file = {Achten - Clean for Haskell98 Programmers.pdf:/home/mrl/.local/share/zotero/storage/69WWSGLF/Achten - Clean for Haskell98 Programmers.pdf:application/pdf},
514 }
515
516 @inproceedings{baccelli_reprogramming_2018,
517 title = {Reprogramming {Low}-end {IoT} {Devices} from the {Cloud}},
518 booktitle = {2018 3rd {Cloudification} of the {Internet} of {Things} ({CIoT})},
519 publisher = {IEEE},
520 author = {Baccelli, Emmanuel and Doerr, Joerg and Jallouli, Ons and Kikuchi, Shinji and Morgenstern, Andreas and Padilla, Francisco Acosta and Schleiser, Kaspar and Thomas, Ian},
521 year = {2018},
522 pages = {1--6},
523 file = {Baccelli et al. - 2018 - Reprogramming Low-end IoT Devices from the Cloud.pdf:/home/mrl/.local/share/zotero/storage/M6LX5ZJN/Baccelli et al. - 2018 - Reprogramming Low-end IoT Devices from the Cloud.pdf:application/pdf},
524 }
525
526 @inproceedings{baccelli_scripting_2018,
527 title = {Scripting {Over}-{The}-{Air}: {Towards} {Containers} on {Low}-end {Devices} in the {Internet} of {Things}},
528 booktitle = {{IEEE} {PerCom} 2018},
529 author = {Baccelli, Emmanuel and Doerr, Joerg and Kikuchi, Shinji and Padilla, Francisco and Schleiser, Kaspar and Thomas, Ian},
530 year = {2018},
531 file = {Baccelli et al. - Scripting Over-The-Air Towards Containers on Low-.pdf:/home/mrl/.local/share/zotero/storage/98UTMFAC/Baccelli et al. - Scripting Over-The-Air Towards Containers on Low-.pdf:application/pdf},
532 }
533
534 @mastersthesis{amazonas_cabral_de_andrade_developing_2018,
535 address = {Nijmegen},
536 title = {Developing {Real} {Life}, {Task} {Oriented} {Applications} for the {Internet} of {Things}},
537 shorttitle = {Developing {Real} {Life}, {TOP} {Applications} for the {IOT}},
538 language = {en},
539 school = {Radboud University},
540 author = {Amazonas Cabral De Andrade, Matheus},
541 year = {2018},
542 file = {Lubbers - prof. dr. dr.h.c. ir. M.J. Plasmeijer.pdf:/home/mrl/.local/share/zotero/storage/JXPEWS85/Lubbers - prof. dr. dr.h.c. ir. M.J. Plasmeijer.pdf:application/pdf},
543 }
544
545 @article{swierstra_data_2008,
546 title = {Data types à la carte},
547 volume = {18},
548 doi = {10.1017/S0956796808006758},
549 number = {4},
550 journal = {Journal of functional programming},
551 author = {Swierstra, Wouter},
552 year = {2008},
553 pages = {423--436},
554 file = {swierstra2008.pdf:/home/mrl/.local/share/zotero/storage/BEQKBXWP/swierstra2008.pdf:application/pdf},
555 }
556
557 @article{groningen_exchanging_2010,
558 title = {Exchanging sources between {Clean} and {Haskell}: {A} double-edged front end for the {Clean} compiler},
559 volume = {45},
560 shorttitle = {Exchanging sources between {Clean} and {Haskell}},
561 number = {11},
562 journal = {ACM Sigplan Notices},
563 author = {Groningen, John van and Noort, Thomas van and Achten, Peter and Koopman, Pieter and Plasmeijer, Rinus},
564 year = {2010},
565 pages = {49--60},
566 file = {groj10-Haskell_front_end_Clean.pdf:/home/mrl/.local/share/zotero/storage/WVZWX8WT/groj10-Haskell_front_end_Clean.pdf:application/pdf},
567 }
568
569 @incollection{plasmeijer_shallow_2016,
570 address = {Cham},
571 series = {Lecture {Notes} in {Computer} {Science}},
572 title = {A {Shallow} {Embedded} {Type} {Safe} {Extendable} {DSL} for the {Arduino}},
573 volume = {9547},
574 isbn = {978-3-319-39109-0 978-3-319-39110-6},
575 url = {http://link.springer.com/10.1007/978-3-319-39110-6},
576 urldate = {2017-02-22},
577 booktitle = {Trends in {Functional} {Programming}},
578 publisher = {Springer International Publishing},
579 author = {Plasmeijer, Rinus and Koopman, Pieter},
580 year = {2016},
581 doi = {10.1007/978-3-319-39110-6},
582 file = {chp%3A10.1007%2F978-3-319-39110-6_6.pdf:/home/mrl/.local/share/zotero/storage/TJVP6FHF/chp%3A10.1007%2F978-3-319-39110-6_6.pdf:application/pdf},
583 }
584
585 @inproceedings{cheney_lightweight_2002,
586 title = {A lightweight implementation of generics and dynamics},
587 url = {http://dl.acm.org/citation.cfm?id=581698},
588 doi = {10.1145/581690.581698},
589 urldate = {2017-05-15},
590 booktitle = {Proceedings of the 2002 {ACM} {SIGPLAN} workshop on {Haskell}},
591 publisher = {ACM},
592 author = {Cheney, James and Hinze, Ralf},
593 year = {2002},
594 note = {event-place: Pittsburgh Pennsylvania, USA},
595 keywords = {dynamic typing, generic programming, type representations},
596 pages = {90--104},
597 file = {Cheney and Hinze - 2002 - A lightweight implementation of generics and dynam.pdf:/home/mrl/.local/share/zotero/storage/FZ6EGJRJ/Cheney and Hinze - 2002 - A lightweight implementation of generics and dynam.pdf:application/pdf;HW02.pdf:/home/mrl/.local/share/zotero/storage/A8Z49NK6/HW02.pdf:application/pdf},
598 }
599
600 @article{lilis_survey_2019,
601 title = {A {Survey} of {Metaprogramming} {Languages}},
602 volume = {52},
603 issn = {0360-0300},
604 url = {https://doi.org/10.1145/3354584},
605 doi = {10.1145/3354584},
606 abstract = {Metaprogramming is the process of writing computer programs that treat programs as data, enabling them to analyze or transform existing programs or generate new ones. While the concept of metaprogramming has existed for several decades, activities focusing on metaprogramming have been increasing rapidly over the past few years, with most languages offering some metaprogramming support and the amount of metacode being developed growing exponentially. In this article, we introduce a taxonomy of metaprogramming languages and present a survey of metaprogramming languages and systems based on the taxonomy. Our classification is based on the metaprogramming model adopted by the language, the phase of the metaprogram evaluation, the metaprogram source location, and the relation between the metalanguage and the object language.},
607 number = {6},
608 journal = {ACM Comput. Surv.},
609 author = {Lilis, Yannis and Savidis, Anthony},
610 month = oct,
611 year = {2019},
612 note = {Place: New York, NY, USA
613 Publisher: Association for Computing Machinery},
614 keywords = {aspect-oriented programming, generative programming, macro systems, meta-object protocols, Metaprogramming, multistage languages, reflection},
615 file = {Lilis and Savidis - 2019 - A Survey of Metaprogramming Languages.pdf:/home/mrl/.local/share/zotero/storage/9MS6TUNR/Lilis and Savidis - 2019 - A Survey of Metaprogramming Languages.pdf:application/pdf},
616 }
617
618 @inproceedings{mainland_why_2007,
619 address = {New York, NY, USA},
620 series = {Haskell '07},
621 title = {Why {It}'s {Nice} to {Be} {Quoted}: {Quasiquoting} for {Haskell}},
622 isbn = {978-1-59593-674-5},
623 url = {https://doi.org/10.1145/1291201.1291211},
624 doi = {10.1145/1291201.1291211},
625 abstract = {Quasiquoting allows programmers to use domain specific syntax to construct program fragments. By providing concrete syntax for complex data types, programs become easier to read, easier to write, and easier to reason about and maintain. Haskell is an excellent host language for embedded domain specific languages, and quasiquoting ideally complements the language features that make Haskell perform so well in this area. Unfortunately, until now no Haskell compiler has provided support for quasiquoting. We present an implementation in GHC and demonstrate that by leveraging existing compiler capabilities, building a full quasiquoter requires little more work than writing a parser. Furthermore, we provide a compile-time guarantee that all quasiquoted data is type-correct.},
626 booktitle = {Proceedings of the {ACM} {SIGPLAN} {Workshop} on {Haskell} {Workshop}},
627 publisher = {Association for Computing Machinery},
628 author = {Mainland, Geoffrey},
629 year = {2007},
630 note = {event-place: Freiburg, Germany},
631 keywords = {meta programming, quasiquoting},
632 pages = {73--82},
633 file = {Mainland - 2007 - Why It's Nice to Be Quoted Quasiquoting for Haske.pdf:/home/mrl/.local/share/zotero/storage/PSJ59GY2/Mainland - 2007 - Why It's Nice to Be Quoted Quasiquoting for Haske.pdf:application/pdf},
634 }
635
636 @article{tratt_domain_2008,
637 title = {Domain {Specific} {Language} {Implementation} via {Compile}-{Time} {Meta}-{Programming}},
638 volume = {30},
639 issn = {0164-0925},
640 url = {https://doi.org/10.1145/1391956.1391958},
641 doi = {10.1145/1391956.1391958},
642 abstract = {Domain specific languages (DSLs) are mini-languages that are increasingly seen as being a valuable tool for software developers and non-developers alike. DSLs must currently be created in an ad-hoc fashion, often leading to high development costs and implementations of variable quality. In this article, I show how expressive DSLs can be hygienically embedded in the Converge programming language using its compile-time meta-programming facility, the concept of DSL blocks, and specialised error reporting techniques. By making use of pre-existing facilities, and following a simple methodology, DSL implementation costs can be significantly reduced whilst leading to higher quality DSL implementations.},
643 number = {6},
644 journal = {ACM Trans. Program. Lang. Syst.},
645 author = {Tratt, Laurence},
646 month = oct,
647 year = {2008},
648 note = {Place: New York, NY, USA
649 Publisher: Association for Computing Machinery},
650 keywords = {domain specific languages, compile-time meta-programming, Syntax extension},
651 file = {Tratt - 2008 - Domain Specific Language Implementation via Compil.pdf:/home/mrl/.local/share/zotero/storage/HHGYJK4H/Tratt - 2008 - Domain Specific Language Implementation via Compil.pdf:application/pdf},
652 }
653
654 @inproceedings{kariotis_making_2008,
655 address = {New York, NY, USA},
656 series = {Haskell '08},
657 title = {Making {Monads} {First}-{Class} with {Template} {Haskell}},
658 isbn = {978-1-60558-064-7},
659 url = {https://doi.org/10.1145/1411286.1411300},
660 doi = {10.1145/1411286.1411300},
661 abstract = {Monads as an organizing principle for programming and semantics are notoriously difficult to grasp, yet they are a central and powerful abstraction in Haskell. This paper introduces a domain-specific language, MonadLab, that simplifies the construction of monads, and describes its implementation in Template Haskell. MonadLab makes monad construction truly first class, meaning that arcane theoretical issues with respect to monad transformers are completely hidden from the programmer. The motivation behind the design of MonadLab is to make monadic programming in Haskell simpler while providing a tool for non-Haskell experts that will assist them in understanding this powerful abstraction.},
662 booktitle = {Proceedings of the {First} {ACM} {SIGPLAN} {Symposium} on {Haskell}},
663 publisher = {Association for Computing Machinery},
664 author = {Kariotis, Pericles S. and Procter, Adam M. and Harrison, William L.},
665 year = {2008},
666 note = {event-place: Victoria, BC, Canada},
667 keywords = {domain-specific languages, monads, staged programming},
668 pages = {99--110},
669 file = {Kariotis et al. - 2008 - Making Monads First-Class with Template Haskell.pdf:/home/mrl/.local/share/zotero/storage/ZLX24WE8/Kariotis et al. - 2008 - Making Monads First-Class with Template Haskell.pdf:application/pdf},
670 }
671
672 @inproceedings{gill_haskell_2009,
673 address = {Berlin, Heidelberg},
674 title = {A {Haskell} {Hosted} {DSL} for {Writing} {Transformation} {Systems}},
675 isbn = {978-3-642-03034-5},
676 abstract = {KURE is a Haskell hosted Domain Specific Language (DSL) for writing transformation systems based on rewrite strategies. When writing transformation systems, a significant amount of engineering effort goes into setting up plumbing to make sure that specific rewrite rules can fire. Systems like Stratego and Strafunski provide most of this plumbing as infrastructure, allowing the DSL user to focus on the rewrite rules. KURE is a strongly typed strategy control language in the tradition of Stratego and Strafunski. It is intended for writing reasonably efficient rewrite systems, makes use of type families to provide a delimited generic mechanism for tree rewriting, and provides support for efficient identity rewrite detection.},
677 booktitle = {Domain-{Specific} {Languages}},
678 publisher = {Springer Berlin Heidelberg},
679 author = {Gill, Andy},
680 editor = {Taha, Walid Mohamed},
681 year = {2009},
682 pages = {285--309},
683 file = {Gill2009_Chapter_AHaskellHostedDSLForWritingTra.pdf:/home/mrl/.local/share/zotero/storage/I9RJNDYR/Gill2009_Chapter_AHaskellHostedDSLForWritingTra.pdf:application/pdf},
684 }
685
686 @book{peyton_jones_implementation_1987,
687 address = {Hertfordshire},
688 title = {The {Implementation} of {Functional} {Programming} {Languages}},
689 url = {https://www.microsoft.com/en-us/research/publication/the-implementation-of-functional-programming-languages/},
690 abstract = {My 1987 book is now out of print, but it is available here in its entirety in PDF form, in one of two formats: single-page portrait double-page landscape Both are fully searchable, thanks to OCR and Norman Ramsey. Errata Section 5.2.4, p87. We need an extra rule match us [] E = E This accounts for the possibility that in the constructor rule (Section 5.2.4) there may be some non-nullary constructors for which there are no equations. P168, line 2, "VAR" should be "TVAR".},
691 publisher = {Prentice Hall},
692 author = {Peyton Jones, Simon},
693 month = jan,
694 year = {1987},
695 file = {Peyton Jones - 1987 - The Implementation of Functional Programming Langu.pdf:/home/mrl/.local/share/zotero/storage/9RIR6KGD/Peyton Jones - 1987 - The Implementation of Functional Programming Langu.pdf:application/pdf},
696 }
697
698 @inproceedings{sheard_template_2002,
699 address = {New York, NY, USA},
700 series = {Haskell '02},
701 title = {Template {Meta}-{Programming} for {Haskell}},
702 isbn = {1-58113-605-6},
703 url = {https://doi.org/10.1145/581690.581691},
704 doi = {10.1145/581690.581691},
705 abstract = {We propose a new extension to the purely functional programming language Haskell that supports compile-time meta-programming. The purpose of the system is to support the algorithmic construction of programs at compile-time.The ability to generate code at compile time allows the programmer to implement such features as polytypic programs, macro-like expansion, user directed optimization (such as inlining), and the generation of supporting data structures and functions from existing data structures and functions.Our design is being implemented in the Glasgow Haskell Compiler, ghc.},
706 booktitle = {Proceedings of the 2002 {ACM} {SIGPLAN} {Workshop} on {Haskell}},
707 publisher = {Association for Computing Machinery},
708 author = {Sheard, Tim and Jones, Simon Peyton},
709 year = {2002},
710 note = {event-place: Pittsburgh, Pennsylvania},
711 keywords = {meta programming, templates},
712 pages = {1--16},
713 file = {Sheard and Jones - 2002 - Template Meta-Programming for Haskell.pdf:/home/mrl/.local/share/zotero/storage/2GSK6DSF/Sheard and Jones - 2002 - Template Meta-Programming for Haskell.pdf:application/pdf},
714 }
715
716 @inproceedings{seefried_optimising_2004,
717 address = {Berlin, Heidelberg},
718 title = {Optimising {Embedded} {DSLs} {Using} {Template} {Haskell}},
719 isbn = {978-3-540-30175-2},
720 abstract = {Embedded domain specific languages (EDSLs) provide a specialised language for a particular application area while harnessing the infrastructure of an existing general purpose programming language. The reduction in implementation costs that results from this approach comes at a price: the EDSL often compiles to inefficient code since the host language's compiler only optimises at the level of host language constructs. The paper presents an approach to solving this problem based on compile-time meta-programming which retains the simplicity of the embedded approach. We use PanTHeon, our implementation of an existing EDSL for image synthesis to demonstrate the benefits and drawbacks of this approach. Furthermore, we suggest potential improvements to Template Haskell, the meta-programming framework we are using, which would greatly improve its applicability to this kind of task.},
721 booktitle = {Generative {Programming} and {Component} {Engineering}},
722 publisher = {Springer Berlin Heidelberg},
723 author = {Seefried, Sean and Chakravarty, Manuel and Keller, Gabriele},
724 editor = {Karsai, Gabor and Visser, Eelco},
725 year = {2004},
726 pages = {186--205},
727 file = {Seefried et al. - 2004 - Optimising Embedded DSLs Using Template Haskell.pdf:/home/mrl/.local/share/zotero/storage/ZRKQ9AH6/Seefried et al. - 2004 - Optimising Embedded DSLs Using Template Haskell.pdf:application/pdf},
728 }
729
730 @article{hammond_automatic_2003,
731 title = {{AUTOMATIC} {SKELETONS} {IN} {TEMPLATE} {HASKELL}},
732 volume = {13},
733 url = {https://doi.org/10.1142/S0129626403001380},
734 doi = {10.1142/S0129626403001380},
735 abstract = {This paper uses Template Haskell to automatically select appropriate skeleton implementations in the Eden parallel dialect of Haskell. The approach allows implementation parameters to be statically tuned according to architectural cost models based on source analyses. This permits us to target a range of parallel architecture classes from a single source specification. A major advantage of the approach is that cost models are user-definable and can be readily extended to new data or computation structures etc.},
736 number = {03},
737 journal = {Parallel Processing Letters},
738 author = {Hammond, Kevin and Berthold, Jost and Loogen, Rita},
739 year = {2003},
740 note = {\_eprint: https://doi.org/10.1142/S0129626403001380},
741 pages = {413--424},
742 file = {Hammond et al. - 2003 - AUTOMATIC SKELETONS IN TEMPLATE HASKELL.pdf:/home/mrl/.local/share/zotero/storage/HBQ8UXY3/Hammond et al. - 2003 - AUTOMATIC SKELETONS IN TEMPLATE HASKELL.pdf:application/pdf},
743 }
744
745 @inproceedings{adams_template_2012,
746 address = {New York, NY, USA},
747 series = {Haskell '12},
748 title = {Template {Your} {Boilerplate}: {Using} {Template} {Haskell} for {Efficient} {Generic} {Programming}},
749 isbn = {978-1-4503-1574-6},
750 url = {https://doi.org/10.1145/2364506.2364509},
751 doi = {10.1145/2364506.2364509},
752 abstract = {Generic programming allows the concise expression of algorithms that would otherwise require large amounts of handwritten code. A number of such systems have been developed over the years, but a common drawback of these systems is poor runtime performance relative to handwritten, non-generic code. Generic-programming systems vary significantly in this regard, but few consistently match the performance of handwritten code. This poses a dilemma for developers. Generic-programming systems offer concision but cost performance. Handwritten code offers performance but costs concision.This paper explores the use of Template Haskell to achieve the best of both worlds. It presents a generic-programming system for Haskell that provides both the concision of other generic-programming systems and the efficiency of handwritten code. Our system gives the programmer a high-level, generic-programming interface, but uses Template Haskell to generate efficient, non-generic code that outperforms existing generic-programming systems for Haskell.This paper presents the results of benchmarking our system against both handwritten code and several other generic-programming systems. In these benchmarks, our system matches the performance of handwritten code while other systems average anywhere from two to twenty times slower.},
753 booktitle = {Proceedings of the 2012 {Haskell} {Symposium}},
754 publisher = {Association for Computing Machinery},
755 author = {Adams, Michael D. and DuBuisson, Thomas M.},
756 year = {2012},
757 note = {event-place: Copenhagen, Denmark},
758 keywords = {generic programming, scrap your boilerplate, template haskell},
759 pages = {13--24},
760 file = {Adams and DuBuisson - 2012 - Template Your Boilerplate Using Template Haskell .pdf:/home/mrl/.local/share/zotero/storage/ANAHWLB5/Adams and DuBuisson - 2012 - Template Your Boilerplate Using Template Haskell .pdf:application/pdf},
761 }
762
763 @inproceedings{norell_prototyping_2004,
764 address = {Berlin, Heidelberg},
765 title = {Prototyping {Generic} {Programming} in {Template} {Haskell}},
766 isbn = {978-3-540-27764-4},
767 abstract = {Generic Programming deals with the construction of programs that can be applied to many different datatypes. This is achieved by parameterizing the generic programs by the structure of the datatypes on which they are to be applied. Programs that can be defined generically range from simple map functions through pretty printers to complex XML tools.},
768 booktitle = {Mathematics of {Program} {Construction}},
769 publisher = {Springer Berlin Heidelberg},
770 author = {Norell, Ulf and Jansson, Patrik},
771 editor = {Kozen, Dexter},
772 year = {2004},
773 pages = {314--333},
774 file = {Norell and Jansson - 2004 - Prototyping Generic Programming in Template Haskel.pdf:/home/mrl/.local/share/zotero/storage/S3EXD65Z/Norell and Jansson - 2004 - Prototyping Generic Programming in Template Haskel.pdf:application/pdf},
775 }
776
777 @incollection{odonnell_embedding_2004,
778 address = {Berlin, Heidelberg},
779 title = {Embedding a {Hardware} {Description} {Language} in {Template} {Haskell}},
780 isbn = {978-3-540-25935-0},
781 url = {https://doi.org/10.1007/978-3-540-25935-0_9},
782 abstract = {Hydra is a domain-specific language for designing digital circuits, which is implemented by embedding within Haskell. Many features required for hardware specification fit well within functional languages, leading in many cases to a perfect embedding. There are some situations, including netlist generation and software logic probes, where the DSL does not fit exactly within the host functional language. A new solution to these problems is based on program transformations performed automatically by metaprograms in Template Haskell.},
783 booktitle = {Domain-{Specific} {Program} {Generation}: {International} {Seminar}, {Dagstuhl} {Castle}, {Germany}, {March} 23-28, 2003. {Revised} {Papers}},
784 publisher = {Springer Berlin Heidelberg},
785 author = {O'Donnell, John T.},
786 editor = {Lengauer, Christian and Batory, Don and Consel, Charles and Odersky, Martin},
787 year = {2004},
788 doi = {10.1007/978-3-540-25935-0_9},
789 pages = {143--164},
790 file = {O'Donnell - 2004 - Embedding a Hardware Description Language in Templ.pdf:/home/mrl/.local/share/zotero/storage/Z2XT7SM3/O'Donnell - 2004 - Embedding a Hardware Description Language in Templ.pdf:application/pdf},
791 }
792
793 @misc{lynagh_unrolling_2003,
794 title = {Unrolling and {Simplifying} {Expressions} with {Template} {Haskell}},
795 url = {http://web.comlab.ox.ac.uk/oucl/work/ian.lynagh/papers/},
796 urldate = {2021-09-07},
797 author = {Lynagh, Ian},
798 month = may,
799 year = {2003},
800 file = {10.1.1.5.9813.pdf:/home/mrl/.local/share/zotero/storage/G4AFM8XZ/10.1.1.5.9813.pdf:application/pdf},
801 }
802
803 @article{elliott_compiling_2003,
804 title = {Compiling embedded languages},
805 volume = {13},
806 doi = {10.1017/S0956796802004574},
807 number = {3},
808 journal = {Journal of Functional Programming},
809 author = {Elliott, Conal and Finne, Sigbjørn and de Moor, Oege},
810 year = {2003},
811 note = {Publisher: Cambridge University Press},
812 pages = {455--481},
813 file = {Elliott et al. - 2003 - Compiling embedded languages.pdf:/home/mrl/.local/share/zotero/storage/3X4Z6AKB/Elliott et al. - 2003 - Compiling embedded languages.pdf:application/pdf},
814 }
815
816 @incollection{czarnecki_dsl_2004,
817 address = {Berlin, Heidelberg},
818 title = {{DSL} {Implementation} in {MetaOCaml}, {Template} {Haskell}, and {C}++},
819 isbn = {978-3-540-25935-0},
820 url = {https://doi.org/10.1007/978-3-540-25935-0_4},
821 abstract = {A wide range of domain-specific languages (DSLs) has been implemented successfully by embedding them in general purpose languages. This paper reviews embedding, and summarizes how two alternative techniques – staged interpreters and templates – can be used to overcome the limitations of embedding. Both techniques involve a form of generative programming. The paper reviews and compares three programming languages that have special support for generative programming. Two of these languages (MetaOCaml and Template Haskell) are research languages, while the third (C++) is already in wide industrial use. The paper identifies several dimensions that can serve as a basis for comparing generative languages.},
822 booktitle = {Domain-{Specific} {Program} {Generation}: {International} {Seminar}, {Dagstuhl} {Castle}, {Germany}, {March} 23-28, 2003. {Revised} {Papers}},
823 publisher = {Springer Berlin Heidelberg},
824 author = {Czarnecki, Krzysztof and O'Donnell, John T. and Striegnitz, Jörg and Taha, Walid},
825 editor = {Lengauer, Christian and Batory, Don and Consel, Charles and Odersky, Martin},
826 year = {2004},
827 doi = {10.1007/978-3-540-25935-0_4},
828 pages = {51--72},
829 file = {Czarnecki et al. - 2004 - DSL Implementation in MetaOCaml, Template Haskell,.pdf:/home/mrl/.local/share/zotero/storage/U6E3325Q/Czarnecki et al. - 2004 - DSL Implementation in MetaOCaml, Template Haskell,.pdf:application/pdf},
830 }
831
832 @inproceedings{sheard_accomplishments_2001,
833 address = {Berlin, Heidelberg},
834 title = {Accomplishments and {Research} {Challenges} in {Meta}-programming},
835 isbn = {978-3-540-44806-8},
836 abstract = {In the last ten years the study of meta-programming systems, as formal systems worthy of study in their own right, has vastly accelerated. In that time a lot has been accomplished, yet much remains to be done. In this invited talk I wish to review recent accomplishments and future research challenges in hopes that this will spur interest in meta-programming in general and lead to new and better meta-programming systems.},
837 booktitle = {Semantics, {Applications}, and {Implementation} of {Program} {Generation}},
838 publisher = {Springer Berlin Heidelberg},
839 author = {Sheard, Tim},
840 editor = {Taha, Walid},
841 year = {2001},
842 pages = {2--44},
843 file = {Sheard - 2001 - Accomplishments and Research Challenges in Meta-pr.pdf:/home/mrl/.local/share/zotero/storage/M7NT6USA/Sheard - 2001 - Accomplishments and Research Challenges in Meta-pr.pdf:application/pdf},
844 }
845
846 @inproceedings{kohlbecker_hygienic_1986,
847 address = {New York, NY, USA},
848 series = {{LFP} '86},
849 title = {Hygienic {Macro} {Expansion}},
850 isbn = {0-89791-200-4},
851 url = {https://doi.org/10.1145/319838.319859},
852 doi = {10.1145/319838.319859},
853 booktitle = {Proceedings of the 1986 {ACM} {Conference} on {LISP} and {Functional} {Programming}},
854 publisher = {Association for Computing Machinery},
855 author = {Kohlbecker, Eugene and Friedman, Daniel P. and Felleisen, Matthias and Duba, Bruce},
856 year = {1986},
857 note = {event-place: Cambridge, Massachusetts, USA},
858 pages = {151--161},
859 file = {Kohlbecker et al. - 1986 - Hygienic Macro Expansion.pdf:/home/mrl/.local/share/zotero/storage/MFH642JU/Kohlbecker et al. - 1986 - Hygienic Macro Expansion.pdf:application/pdf},
860 }
861
862 @inproceedings{lammel_scrap_2003,
863 address = {New York, NY, USA},
864 series = {{TLDI} '03},
865 title = {Scrap {Your} {Boilerplate}: {A} {Practical} {Design} {Pattern} for {Generic} {Programming}},
866 isbn = {1-58113-649-8},
867 url = {https://doi.org/10.1145/604174.604179},
868 doi = {10.1145/604174.604179},
869 abstract = {We describe a design pattern for writing programs that traverse data structures built from rich mutually-recursive data types. Such programs often have a great deal of "boilerplate" code that simply walks the structure, hiding a small amount of "real" code that constitutes the reason for the traversal.Our technique allows most of this boilerplate to be written once and for all, or even generated mechanically, leaving the programmer free to concentrate on the important part of the algorithm. These generic programs are much more adaptive when faced with data structure evolution because they contain many fewer lines of type-specific code.Our approach is simple to understand, reasonably efficient, and it handles all the data types found in conventional functional programming languages. It makes essential use of rank-2 polymorphism, an extension found in some implementations of Haskell. Further it relies on a simple type-safe cast operator.},
870 booktitle = {Proceedings of the 2003 {ACM} {SIGPLAN} {International} {Workshop} on {Types} in {Languages} {Design} and {Implementation}},
871 publisher = {Association for Computing Machinery},
872 author = {Lämmel, Ralf and Jones, Simon Peyton},
873 year = {2003},
874 note = {event-place: New Orleans, Louisiana, USA},
875 keywords = {generic programming, rank-2 types, traversal, type cast},
876 pages = {26--37},
877 file = {Lämmel and Jones - 2003 - Scrap Your Boilerplate A Practical Design Pattern.pdf:/home/mrl/.local/share/zotero/storage/P2PJYYY3/Lämmel and Jones - 2003 - Scrap Your Boilerplate A Practical Design Pattern.pdf:application/pdf},
878 }
879
880 @inproceedings{bawden_quasiquotation_1999,
881 address = {Aarhus, Denmark},
882 series = {{BRICS} {Notes} {Series}},
883 title = {Quasiquotation in {Lisp}},
884 volume = {NS-99-1},
885 doi = {10.1.1.22.1290},
886 booktitle = {O. {Danvy}, {Ed}., {University} of {Aarhus}, {Dept}. of {Computer} {Science}},
887 publisher = {BRICS},
888 author = {Bawden, Alan},
889 year = {1999},
890 pages = {88--99},
891 file = {Bawden - 1999 - Quasiquotation in Lisp.pdf:/home/mrl/.local/share/zotero/storage/CIFANZAW/Bawden - 1999 - Quasiquotation in Lisp.pdf:application/pdf},
892 }
893
894 @inproceedings{clifton-everest_embedding_2014,
895 address = {Cham},
896 title = {Embedding {Foreign} {Code}},
897 isbn = {978-3-319-04132-2},
898 abstract = {Special purpose embedded languages facilitate generating high-performance code from purely functional high-level code; for example, we want to program highly parallel GPUs without the usual high barrier to entry and the time-consuming development process. We previously demonstrated the feasibility of a skeleton-based, generative approach to compiling such embedded languages.},
899 booktitle = {Practical {Aspects} of {Declarative} {Languages}},
900 publisher = {Springer International Publishing},
901 author = {Clifton-Everest, Robert and McDonell, Trevor L. and Chakravarty, Manuel M. T. and Keller, Gabriele},
902 editor = {Flatt, Matthew and Guo, Hai-Feng},
903 year = {2014},
904 pages = {136--151},
905 file = {Clifton-Everest et al. - 2014 - Embedding Foreign Code.pdf:/home/mrl/.local/share/zotero/storage/JTJGK5BX/Clifton-Everest et al. - 2014 - Embedding Foreign Code.pdf:application/pdf},
906 }
907
908 @inproceedings{shioda_libdsl_2014,
909 address = {New York, NY, USA},
910 series = {{GPCE} 2014},
911 title = {{LibDSL}: {A} {Library} for {Developing} {Embedded} {Domain} {Specific} {Languages} in d via {Template} {Metaprogramming}},
912 isbn = {978-1-4503-3161-6},
913 url = {https://doi.org/10.1145/2658761.2658770},
914 doi = {10.1145/2658761.2658770},
915 abstract = {This paper presents a library called LibDSL that helps the implementer of an embedded domain specific language (EDSL) effectively develop it in D language. The LibDSL library accepts as input some kinds of “specifications” of the EDSL that the implementer is going to develop and a D program within which an EDSL source program written by the user is embedded. It produces the front-end code of an LALR parser for the EDSL program and back-end code of the execution engine. LibDSL is able to produce two kinds of execution engines, namely compiler-based and interpreter-based engines, either of which the user can properly choose depending on whether an EDSL program is known at compile time or not. We have implemented the LibDSL system by using template metaprogramming and other advanced facilities such as compile-time function execution of D language. EDSL programs developed by means of LibDSL have a nice integrativeness with the host language.},
916 booktitle = {Proceedings of the 2014 {International} {Conference} on {Generative} {Programming}: {Concepts} and {Experiences}},
917 publisher = {Association for Computing Machinery},
918 author = {Shioda, Masato and Iwasaki, Hideya and Sato, Shigeyuki},
919 year = {2014},
920 note = {event-place: Västerås, Sweden},
921 keywords = {D language, Embedded domain specific languages, Library, Metaprogramming},
922 pages = {63--72},
923 file = {Shioda et al. - 2014 - LibDSL A Library for Developing Embedded Domain S.pdf:/home/mrl/.local/share/zotero/storage/3WFYJPFR/Shioda et al. - 2014 - LibDSL A Library for Developing Embedded Domain S.pdf:application/pdf},
924 }
925
926 @inproceedings{duregard_embedded_2011,
927 address = {New York, NY, USA},
928 series = {Haskell '11},
929 title = {Embedded {Parser} {Generators}},
930 isbn = {978-1-4503-0860-1},
931 url = {https://doi.org/10.1145/2034675.2034689},
932 doi = {10.1145/2034675.2034689},
933 abstract = {We present a novel method of embedding context-free grammars in Haskell, and to automatically generate parsers and pretty-printers from them. We have implemented this method in a library called BNFC-meta (from the BNF Converter, which it is built on). The library builds compiler front ends using metaprogramming instead of conventional code generation. Parsers are built from labelled BNF grammars that are defined directly in Haskell modules. Our solution combines features of parser generators (static grammar checks, a highly specialised grammar DSL) and adds several features that are otherwise exclusive to combinatory libraries such as the ability to reuse, parameterise and generate grammars inside Haskell.To allow writing grammars in concrete syntax, BNFC-meta provides a quasi-quoter that can parse grammars (embedded in Haskell files) at compile time and use metaprogramming to replace them with their abstract syntax. We also generate quasi-quoters so that the languages we define with BNFC-meta can be embedded in the same way. With a minimal change to the grammar, we support adding anti-quotation to the generated quasi-quoters, which allows users of the defined language to mix concrete and abstract syntax almost seamlessly. Unlike previous methods of achieving anti-quotation, the method used by BNFC-meta is simple, efficient and avoids polluting the abstract syntax types.},
934 booktitle = {Proceedings of the 4th {ACM} {Symposium} on {Haskell}},
935 publisher = {Association for Computing Machinery},
936 author = {Duregård, Jonas and Jansson, Patrik},
937 year = {2011},
938 note = {event-place: Tokyo, Japan},
939 keywords = {domain specific languages, metaprogramming},
940 pages = {107--117},
941 file = {Duregård and Jansson - 2011 - Embedded Parser Generators.pdf:/home/mrl/.local/share/zotero/storage/H5A8TPWV/Duregård and Jansson - 2011 - Embedded Parser Generators.pdf:application/pdf},
942 }
943
944 @inproceedings{eisenberg_promoting_2014,
945 address = {New York, NY, USA},
946 series = {Haskell '14},
947 title = {Promoting {Functions} to {Type} {Families} in {Haskell}},
948 isbn = {978-1-4503-3041-1},
949 url = {https://doi.org/10.1145/2633357.2633361},
950 doi = {10.1145/2633357.2633361},
951 abstract = {Haskell, as implemented in the Glasgow Haskell Compiler (GHC), is enriched with many extensions that support type-level programming, such as promoted datatypes, kind polymorphism, and type families. Yet, the expressiveness of the type-level language remains limited. It is missing many features present at the term level, including case expressions, anonymous functions, partially-applied functions, and let expressions. In this paper, we present an algorithm - with a proof of correctness - to encode these term-level constructs at the type level. Our approach is automated and capable of promoting a wide array of functions to type families. We also highlight and discuss those term-level features that are not promotable. In so doing, we offer a critique on GHC's existing type system, showing what it is already capable of and where it may want improvement.We believe that delineating the mismatch between GHC's term level and its type level is a key step toward supporting dependently typed programming.},
952 booktitle = {Proceedings of the 2014 {ACM} {SIGPLAN} {Symposium} on {Haskell}},
953 publisher = {Association for Computing Machinery},
954 author = {Eisenberg, Richard A. and Stolarek, Jan},
955 year = {2014},
956 note = {event-place: Gothenburg, Sweden},
957 keywords = {defunctionalization, Haskell, type-level programming},
958 pages = {95--106},
959 file = {Eisenberg and Stolarek - 2014 - Promoting Functions to Type Families in Haskell.pdf:/home/mrl/.local/share/zotero/storage/PQXGBM6M/Eisenberg and Stolarek - 2014 - Promoting Functions to Type Families in Haskell.pdf:application/pdf},
960 }
961
962 @inproceedings{viera_staged_2018,
963 address = {New York, NY, USA},
964 series = {{IFL} 2018},
965 title = {A {Staged} {Embedding} of {Attribute} {Grammars} in {Haskell}},
966 isbn = {978-1-4503-7143-8},
967 url = {https://doi.org/10.1145/3310232.3310235},
968 doi = {10.1145/3310232.3310235},
969 abstract = {In this paper, we present an embedding of attribute grammars in Haskell, that is both modular and type-safe, while providing the user with domain specific error messages.Our approach involves to delay part of the safety checks to runtime. When a grammar is correct, we are able to extract a function that can be run without expecting any runtime error related to the EDSL.},
970 booktitle = {Proceedings of the 30th {Symposium} on {Implementation} and {Application} of {Functional} {Languages}},
971 publisher = {Association for Computing Machinery},
972 author = {Viera, Marcos and Balestrieri, Florent and Pardo, Alberto},
973 year = {2018},
974 note = {event-place: Lowell, MA, USA},
975 keywords = {Attribute Grammars, Dynamics, EDSL, Haskell, Staging},
976 pages = {95--106},
977 file = {Viera et al. - 2018 - A Staged Embedding of Attribute Grammars in Haskel.pdf:/home/mrl/.local/share/zotero/storage/53D4HT9C/Viera et al. - 2018 - A Staged Embedding of Attribute Grammars in Haskel.pdf:application/pdf},
978 }
979
980 @incollection{kiselyov_typed_2012,
981 address = {Berlin, Heidelberg},
982 title = {Typed {Tagless} {Final} {Interpreters}},
983 isbn = {978-3-642-32202-0},
984 url = {https://doi.org/10.1007/978-3-642-32202-0_3},
985 abstract = {The so-called `typed tagless final' approach of [6] has collected and polished a number of techniques for representing typed higher-order languages in a typed metalanguage, along with type-preserving interpretation, compilation and partial evaluation. The approach is an alternative to the traditional, or `initial' encoding of an object language as a (generalized) algebraic data type. Both approaches permit multiple interpretations of an expression, to evaluate it, pretty-print, etc. The final encoding represents all and only typed object terms without resorting to generalized algebraic data types, dependent or other fancy types. The final encoding lets us add new language forms and interpretations without breaking the existing terms and interpreters.},
986 booktitle = {Generic and {Indexed} {Programming}: {International} {Spring} {School}, {SSGIP} 2010, {Oxford}, {UK}, {March} 22-26, 2010, {Revised} {Lectures}},
987 publisher = {Springer Berlin Heidelberg},
988 author = {Kiselyov, Oleg},
989 editor = {Gibbons, Jeremy},
990 year = {2012},
991 doi = {10.1007/978-3-642-32202-0_3},
992 pages = {130--174},
993 file = {Kiselyov - 2012 - Typed Tagless Final Interpreters.pdf:/home/mrl/.local/share/zotero/storage/9NBYZLRP/Kiselyov - 2012 - Typed Tagless Final Interpreters.pdf:application/pdf},
994 }
995
996 @article{laufer_type_1996,
997 title = {Type classes with existential types},
998 volume = {6},
999 doi = {10.1017/S0956796800001817},
1000 number = {3},
1001 journal = {Journal of Functional Programming},
1002 author = {Läufer, Konstantin},
1003 year = {1996},
1004 note = {Publisher: Cambridge University Press},
1005 pages = {485--518},
1006 file = {Läufer - 1996 - Type classes with existential types.pdf:/home/mrl/.local/share/zotero/storage/FG73PZJE/Läufer - 1996 - Type classes with existential types.pdf:application/pdf},
1007 }
1008
1009 @incollection{hinze_fun_2003,
1010 address = {Palgrave},
1011 series = {Cornerstones of {Computing}},
1012 title = {Fun {With} {Phantom} {Types}},
1013 isbn = {978-0-333-99285-2},
1014 booktitle = {The {Fun} of {Programming}},
1015 publisher = {Bloomsbury Publishing},
1016 author = {Hinze, Ralf},
1017 editor = {Gibbons, Jeremy and de Moor, Oege},
1018 year = {2003},
1019 pages = {245--262},
1020 }
1021
1022 @inproceedings{boulton_experience_1992,
1023 address = {North-Holland},
1024 title = {Experience with embedding hardware description languages in {HOL}},
1025 volume = {10},
1026 isbn = {0-444-89686-4},
1027 abstract = {The semantics of hardware description languages can be represented in higher order logic. This provides a formal de nition that is suitable for machine processing. Experiments are in progress at Cambridge to see whether this method can be the basis of practical tools based on the HOL theorem-proving assistant. Three languages are being investigated: ELLA, Silage and VHDL. The approaches taken for these languages are compared and current progress on building semantically-based theorem-proving tools is discussed.},
1028 language = {en},
1029 booktitle = {{IFIP} {TC10}/{WG}},
1030 publisher = {Elsevier},
1031 author = {Boulton, Richard and Gordon, Andrew and Gordon, Mike and Harrison, John and Herbert, John and Tassel, John Van},
1032 editor = {Stavridou, Victoria and Melham, Thomas F. and Boute, Raymond T.},
1033 year = {1992},
1034 note = {event-place: Nijmegen, NL},
1035 pages = {129--156},
1036 file = {Boulton et al. - Experience with embedding hardware description lan.pdf:/home/mrl/.local/share/zotero/storage/USAAA6WM/Boulton et al. - Experience with embedding hardware description lan.pdf:application/pdf},
1037 }
1038
1039 @inproceedings{terei_safe_2012,
1040 address = {New York, NY, USA},
1041 series = {Haskell '12},
1042 title = {Safe {Haskell}},
1043 isbn = {978-1-4503-1574-6},
1044 url = {https://doi.org/10.1145/2364506.2364524},
1045 doi = {10.1145/2364506.2364524},
1046 abstract = {Though Haskell is predominantly type-safe, implementations contain a few loopholes through which code can bypass typing and module encapsulation. This paper presents Safe Haskell, a language extension that closes these loopholes. Safe Haskell makes it possible to confine and safely execute untrusted, possibly malicious code. By strictly enforcing types, Safe Haskell allows a variety of different policies from API sandboxing to information-flow control to be implemented easily as monads. Safe Haskell is aimed to be as unobtrusive as possible. It enforces properties that programmers tend to meet already by convention. We describe the design of Safe Haskell and an implementation (currently shipping with GHC) that infers safety for code that lies in a safe subset of the language. We use Safe Haskell to implement an online Haskell interpreter that can securely execute arbitrary untrusted code with no overhead. The use of Safe Haskell greatly simplifies this task and allows the use of a large body of existing code and tools.},
1047 booktitle = {Proceedings of the 2012 {Haskell} {Symposium}},
1048 publisher = {Association for Computing Machinery},
1049 author = {Terei, David and Marlow, Simon and Peyton Jones, Simon and Mazières, David},
1050 year = {2012},
1051 note = {event-place: Copenhagen, Denmark},
1052 keywords = {haskell, security, type safety},
1053 pages = {137--148},
1054 file = {2364506.2364524.pdf:/home/mrl/.local/share/zotero/storage/5SMB272R/2364506.2364524.pdf:application/pdf},
1055 }
1056
1057 @techreport{leijen_parsec_2001,
1058 address = {Utrecht},
1059 title = {Parsec: {Direct} {Style} {Monadic} {Parser} {Combinators} {For} {The} {Real} {World}},
1060 language = {en},
1061 number = {UU-CS-2001-27},
1062 institution = {Universiteit Utrecht},
1063 author = {Leijen, Daan and Meijer, Erik},
1064 year = {2001},
1065 pages = {22},
1066 file = {Leijen - Parsec Direct Style Monadic Parser Combinators Fo.pdf:/home/mrl/.local/share/zotero/storage/J78G3FZ2/Leijen - Parsec Direct Style Monadic Parser Combinators Fo.pdf:application/pdf},
1067 }
1068
1069 @inproceedings{gibbons_folding_2014,
1070 address = {New York, NY, USA},
1071 series = {{ICFP} '14},
1072 title = {Folding {Domain}-{Specific} {Languages}: {Deep} and {Shallow} {Embeddings} ({Functional} {Pearl})},
1073 isbn = {978-1-4503-2873-9},
1074 url = {https://doi.org/10.1145/2628136.2628138},
1075 doi = {10.1145/2628136.2628138},
1076 abstract = {A domain-specific language can be implemented by embedding within a general-purpose host language. This embedding may be deep or shallow, depending on whether terms in the language construct syntactic or semantic representations. The deep and shallow styles are closely related, and intimately connected to folds; in this paper, we explore that connection.},
1077 booktitle = {Proceedings of the 19th {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming}},
1078 publisher = {Association for Computing Machinery},
1079 author = {Gibbons, Jeremy and Wu, Nicolas},
1080 year = {2014},
1081 note = {event-place: Gothenburg, Sweden},
1082 keywords = {domain-specific languages, deep and shallow embedding, folds},
1083 pages = {339--347},
1084 file = {Gibbons and Wu - 2014 - Folding Domain-Specific Languages Deep and Shallo.pdf:/home/mrl/.local/share/zotero/storage/6WNWSLFJ/Gibbons and Wu - 2014 - Folding Domain-Specific Languages Deep and Shallo.pdf:application/pdf},
1085 }
1086
1087 @inproceedings{oliveira_typecase_2005,
1088 address = {New York, NY, USA},
1089 series = {Haskell '05},
1090 title = {{TypeCase}: {A} {Design} {Pattern} for {Type}-{Indexed} {Functions}},
1091 isbn = {1-59593-071-X},
1092 url = {https://doi.org/10.1145/1088348.1088358},
1093 doi = {10.1145/1088348.1088358},
1094 abstract = {A type-indexed function is a function that is defined for each member of some family of types. Haskell's type class mechanism provides collections of open type-indexed functions, in which the indexing family can be extended by defining a new type class instance but the collection of functions is fixed. The purpose of this paper is to present TypeCase: a design pattern that allows the definition of closed type-indexed functions, in which the index family is fixed but the collection of functions is extensible. It is inspired by Cheney and Hinze's work on lightweight approaches to generic programming. We generalise their techniques as a design pattern. Furthermore, we show that type-indexed functions with type-indexed types, and consequently generic functions with generic types, can also be encoded in a lightweight manner, thereby overcoming one of the main limitations of the lightweight approaches.},
1095 booktitle = {Proceedings of the 2005 {ACM} {SIGPLAN} {Workshop} on {Haskell}},
1096 publisher = {Association for Computing Machinery},
1097 author = {Oliveira, Bruno C. d. S. and Gibbons, Jeremy},
1098 year = {2005},
1099 note = {event-place: Tallinn, Estonia},
1100 keywords = {generic programming, type classes, type-indexed functions},
1101 pages = {98--109},
1102 file = {Oliveira and Gibbons - 2005 - TypeCase A Design Pattern for Type-Indexed Functi.pdf:/home/mrl/.local/share/zotero/storage/RBKEZKHN/Oliveira and Gibbons - 2005 - TypeCase A Design Pattern for Type-Indexed Functi.pdf:application/pdf},
1103 }
1104
1105 @inproceedings{odersky_putting_1996,
1106 address = {New York, NY, USA},
1107 series = {{POPL} '96},
1108 title = {Putting {Type} {Annotations} to {Work}},
1109 isbn = {0-89791-769-3},
1110 url = {https://doi.org/10.1145/237721.237729},
1111 doi = {10.1145/237721.237729},
1112 abstract = {We study an extension of the Hindley/Milner system with explicit type scheme annotations and type declarations. The system can express polymorphic function arguments, user-defined data types with abstract components, and structure types with polymorphic fields. More generally, all programs of the polymorphic lambda calculus can be encoded by a translation between typing derivations. We show that type reconstruction in this system can be reduced to the decidable problem of first-order unification under a mixed prefix.},
1113 booktitle = {Proceedings of the 23rd {ACM} {SIGPLAN}-{SIGACT} {Symposium} on {Principles} of {Programming} {Languages}},
1114 publisher = {Association for Computing Machinery},
1115 author = {Odersky, Martin and Läufer, Konstantin},
1116 year = {1996},
1117 note = {event-place: St. Petersburg Beach, Florida, USA},
1118 pages = {54--67},
1119 file = {Odersky and Läufer - 1996 - Putting Type Annotations to Work.pdf:/home/mrl/.local/share/zotero/storage/WC37TU5H/Odersky and Läufer - 1996 - Putting Type Annotations to Work.pdf:application/pdf},
1120 }
1121
1122 @inproceedings{najd_everything_2016,
1123 address = {New York, NY, USA},
1124 series = {{PEPM} '16},
1125 title = {Everything {Old} is {New} {Again}: {Quoted} {Domain}-{Specific} {Languages}},
1126 isbn = {978-1-4503-4097-7},
1127 url = {https://doi.org/10.1145/2847538.2847541},
1128 doi = {10.1145/2847538.2847541},
1129 abstract = {We describe a new approach to implementing Domain-Specific Languages(DSLs), called Quoted DSLs (QDSLs), that is inspired by two old ideas:quasi-quotation, from McCarthy's Lisp of 1960, and the subformula principle of normal proofs, from Gentzen's natural deduction of 1935. QDSLs reuse facilities provided for the host language, since host and quoted terms share the same syntax, type system, and normalisation rules. QDSL terms are normalised to a canonical form, inspired by the subformula principle, which guarantees that one can use higher-order types in the source while guaranteeing first-order types in the target, and enables using types to guide fusion. We test our ideas by re-implementing Feldspar, which was originally implemented as an Embedded DSL (EDSL), as a QDSL; and we compare the QDSL and EDSL variants. The two variants produce identical code.},
1130 booktitle = {Proceedings of the 2016 {ACM} {SIGPLAN} {Workshop} on {Partial} {Evaluation} and {Program} {Manipulation}},
1131 publisher = {Association for Computing Machinery},
1132 author = {Najd, Shayan and Lindley, Sam and Svenningsson, Josef and Wadler, Philip},
1133 year = {2016},
1134 note = {event-place: St. Petersburg, FL, USA},
1135 keywords = {domain-specific language, DSL, EDSL, embedded language, normalisation, QDSL, quotation, subformula principle},
1136 pages = {25--36},
1137 file = {Najd et al. - 2016 - Everything Old is New Again Quoted Domain-Specifi.pdf:/home/mrl/.local/share/zotero/storage/NZJW5ZVF/Najd et al. - 2016 - Everything Old is New Again Quoted Domain-Specifi.pdf:application/pdf},
1138 }
1139
1140 @article{carette_finally_2009,
1141 title = {Finally tagless, partially evaluated: {Tagless} staged interpreters for simpler typed languages},
1142 volume = {19},
1143 doi = {10.1017/S0956796809007205},
1144 number = {5},
1145 journal = {Journal of Functional Programming},
1146 author = {Carette, Jacques and Kiselyov, Oleg and Shan, Chung-Chieh},
1147 year = {2009},
1148 note = {Publisher: Cambridge University Press},
1149 pages = {509--543},
1150 file = {CARETTE et al. - 2009 - Finally tagless, partially evaluated Tagless stag.pdf:/home/mrl/.local/share/zotero/storage/T8C8VMHP/CARETTE et al. - 2009 - Finally tagless, partially evaluated Tagless stag.pdf:application/pdf},
1151 }
1152
1153 @inproceedings{leijen_domain_2000,
1154 address = {New York, NY, USA},
1155 series = {{DSL} '99},
1156 title = {Domain {Specific} {Embedded} {Compilers}},
1157 isbn = {1-58113-255-7},
1158 url = {https://doi.org/10.1145/331960.331977},
1159 doi = {10.1145/331960.331977},
1160 abstract = {Domain-specific embedded languages (DSELs) expressed in higher-order, typed (HOT) languages provide a composable framework for domain-specific abstractions. Such a framework is of greater utility than a collection of stand-alone domain-specific languages. Usually, embedded domain specific languages are build on top of a set of domain specific primitive functions that are ultimately implemented using some form of foreign function call. We sketch a general design pattern/or embedding client-server style services into Haskell using a domain specific embedded compiler for the server's source language. In particular we apply this idea to implement Haskell/DB, a domain specific embdedded compiler that dynamically generates of SQL queries from monad comprehensions, which are then executed on an arbitrary ODBC database server.},
1161 booktitle = {Proceedings of the 2nd {Conference} on {Domain}-{Specific} {Languages}},
1162 publisher = {Association for Computing Machinery},
1163 author = {Leijen, Daan and Meijer, Erik},
1164 year = {2000},
1165 note = {event-place: Austin, Texas, USA},
1166 pages = {109--122},
1167 file = {Leijen and Meijer - 2000 - Domain Specific Embedded Compilers.pdf:/home/mrl/.local/share/zotero/storage/YHPF2VZ6/Leijen and Meijer - 2000 - Domain Specific Embedded Compilers.pdf:application/pdf},
1168 }
1169
1170 @incollection{koopman_simulation_2018,
1171 address = {Cham},
1172 title = {Simulation of a {Task}-{Based} {Embedded} {Domain} {Specific} {Language} for the {Internet} of {Things}},
1173 language = {en},
1174 booktitle = {Central {European} {Functional} {Programming} {School}: 7th {Summer} {School}, {CEFP} 2018, {Košice}, {Slovakia}, {January} 2226, 2018, {Revised} {Selected} {Papers}},
1175 publisher = {Springer International Publishing},
1176 author = {Koopman, Pieter and Lubbers, Mart and Plasmeijer, Rinus},
1177 year = {2018},
1178 pages = {51},
1179 }
1180
1181 @techreport{plasmeijer_clean_2021,
1182 address = {Nijmegen},
1183 title = {Clean {Language} {Report} version 3.1},
1184 urldate = {2021-12-22},
1185 institution = {Institute for Computing and Information Sciences},
1186 author = {Plasmeijer, Rinus and van Eekelen, Marko and van Groningen, John},
1187 month = dec,
1188 year = {2021},
1189 pages = {127},
1190 file = {CleanLanguageReport.pdf:/home/mrl/.local/share/zotero/storage/I2SDRIH6/CleanLanguageReport.pdf:application/pdf},
1191 }
1192
1193 @inproceedings{nocker_concurrent_1991,
1194 address = {Berlin, Heidelberg},
1195 title = {Concurrent clean},
1196 isbn = {978-3-540-47472-2},
1197 abstract = {Concurrent Clean is an experimental, lazy, higher-order parallel functional programming language based on term graph rewriting. An important difference with other languages is that in Clean graphs are manipulated and not terms. This can be used by the programmer to control communication and sharing of computation. Cyclic structures can be defined. Concurrent Clean furthermore allows to control the (parallel) order of evaluation to make efficient evaluation possible. With help of sequential annotations the default lazy evaluation can be locally changed into eager evaluation. The language enables the definition of partially strict data structures which make a whole new class of algorithms feasible in a functional language. A powerful and fast strictness analyser is incorporated in the system. The quality of the code generated by the Clean compiler has been greatly improved such that it is one of the best code generators for a lazy functional language. Two very powerful parallel annotations enable the programmer to define concurrent functional programs with arbitrary process topologies. Concurrent Clean is set up in such a way that the efficiency achieved for the sequential case can largely be maintained for a parallel implementation on loosely coupled parallel machine architectures.},
1198 booktitle = {{PARLE} '91 {Parallel} {Architectures} and {Languages} {Europe}},
1199 publisher = {Springer Berlin Heidelberg},
1200 author = {Nöcker, E. G. J. M. H. and Smetsers, J. E. W. and van Eekelen, M. C. J. D. and Plasmeijer, M. J.},
1201 editor = {Aarts, Emile H. L. and van Leeuwen, Jan and Rem, Martin},
1202 year = {1991},
1203 pages = {202--219},
1204 file = {Nöcker et al. - 1991 - Concurrent clean.pdf:/home/mrl/.local/share/zotero/storage/XHTNR7BR/Nöcker et al. - 1991 - Concurrent clean.pdf:application/pdf},
1205 }
1206
1207 @incollection{mernik_extensible_2013,
1208 address = {Hershey, PA, USA},
1209 title = {Extensible {Languages}: {Blurring} the {Distinction} between {DSL} and {GPL}},
1210 isbn = {978-1-4666-2092-6},
1211 url = {https://services.igi-global.com/resolvedoi/resolve.aspx?doi=10.4018/978-1-4666-2092-6.ch001},
1212 abstract = {Out of a concern for focus and concision, domain-specific languages (DSLs) are usually very different from general purpose programming languages (GPLs), both at the syntactic and the semantic levels. One approach to DSL implementation is to write a full language infrastructure, including parser, interpreter, or even compiler. Another approach however, is to ground the DSL into an extensible GPL, giving you control over its own syntax and semantics. The DSL may then be designed merely as an extension to the original GPL, and its implementation may boil down to expressing only the differences with it. The task of DSL implementation is hence considerably eased. The purpose of this chapter is to provide a tour of the features that make a GPL extensible, and to demonstrate how, in this context, the distinction between DSL and GPL can blur, sometimes to the point of complete disappearance.},
1213 booktitle = {Formal and {Practical} {Aspects} of {Domain}-{Specific} {Languages}: {Recent} {Developments}},
1214 publisher = {IGI Global},
1215 author = {Verna, Didier},
1216 editor = {Mernik, Marjan},
1217 year = {2013},
1218 doi = {10.4018/978-1-4666-2092-6.ch001},
1219 pages = {1--31},
1220 }
1221
1222 @inproceedings{hudak_modular_1998,
1223 title = {Modular domain specific languages and tools},
1224 doi = {10.1109/ICSR.1998.685738},
1225 booktitle = {Proceedings. {Fifth} {International} {Conference} on {Software} {Reuse} ({Cat}. {No}.{98TB100203})},
1226 author = {Hudak, P.},
1227 year = {1998},
1228 pages = {134--142},
1229 file = {Hudak - 1998 - Modular domain specific languages and tools.pdf:/home/mrl/.local/share/zotero/storage/JX7KZ2ST/Hudak - 1998 - Modular domain specific languages and tools.pdf:application/pdf},
1230 }
1231
1232 @book{fowler_domain_2010,
1233 edition = {1st},
1234 title = {Domain {Specific} {Languages}},
1235 isbn = {0-321-71294-3},
1236 abstract = {Designed as a wide-ranging guide to Domain Specific Languages (DSLs) and how to approach building them, this book covers a variety of different techniques available for DSLs. The goal is to provide readers with enough information to make an informed choice about whether or not to use a DSL and what kinds of DSL techniques to employ. Part I is a 150-page narrative overview that gives you a broad understanding of general principles. The reference material in Parts II through VI provides the details and examples you willneed to get started using the various techniques discussed. Both internal and external DSL topics are covered, in addition to alternative computational models and code generation. Although the general principles and patterns presented can be used with whatever programming language you happen to be using, most of the examples are in Java or C\#.},
1237 publisher = {Addison-Wesley Professional},
1238 author = {Fowler, Martin},
1239 year = {2010},
1240 file = {Fowler - 2010 - Domain-specific languages.pdf:/home/mrl/.local/share/zotero/storage/YYMYXTZ5/Fowler - 2010 - Domain-specific languages.pdf:application/pdf},
1241 }
1242
1243 @misc{peter_t_lewis_speech_1985,
1244 address = {Washington, D.C.},
1245 type = {Speech},
1246 title = {Speech},
1247 url = {http://www.chetansharma.com/correcting-the-iot-history/},
1248 author = {{Peter T. Lewis}},
1249 month = sep,
1250 year = {1985},
1251 }
1252
1253 @article{weiser_computer_1991,
1254 title = {The {Computer} for the 21 st {Century}},
1255 volume = {265},
1256 language = {en},
1257 number = {3},
1258 journal = {Scientific American},
1259 author = {Weiser, Mark},
1260 month = sep,
1261 year = {1991},
1262 pages = {94--105},
1263 file = {Weiser - 1991 - The Computer for the 21 st Century.pdf:/home/mrl/.local/share/zotero/storage/N5456M2M/Weiser - 1991 - The Computer for the 21 st Century.pdf:application/pdf},
1264 }
1265
1266 @misc{evans_internet_2011,
1267 title = {The {Internet} of {Things}: {How} the {Next} {Evolution} of the {Internet} {Is} {Changing} {Everything}},
1268 url = {https://www.cisco.com/c/dam/en_us/about/ac79/docs/innov/IoT_IBSG_0411FINAL.pdf},
1269 language = {en},
1270 publisher = {Cisco Internet Business Solutions Group (IBSG)},
1271 author = {Evans, Dave},
1272 month = apr,
1273 year = {2011},
1274 file = {Evans - 2011 - How the Next Evolution of the Internet Is Changing.pdf:/home/mrl/.local/share/zotero/storage/32YXCM6P/Evans - 2011 - How the Next Evolution of the Internet Is Changing.pdf:application/pdf},
1275 }
1276
1277 @inproceedings{ireland_classification_2009,
1278 address = {Cancun, Mexico},
1279 title = {A {Classification} of {Object}-{Relational} {Impedance} {Mismatch}},
1280 isbn = {978-0-7695-3550-0},
1281 doi = {10.1109/DBKDA.2009.11},
1282 booktitle = {First {International} {Conference} on {Advances} in {Databases}, {Knowledge}, and {Data} {Applications}},
1283 publisher = {IEEE},
1284 author = {Ireland, Christopher and Bowers, David and Newton, Michael and Waugh, Kevin},
1285 year = {2009},
1286 pages = {36--43},
1287 }
1288
1289 @incollection{koopman_type-safe_2019,
1290 address = {Cham},
1291 title = {Type-{Safe} {Functions} and {Tasks} in a {Shallow} {Embedded} {DSL} for {Microprocessors}},
1292 isbn = {978-3-030-28346-9},
1293 url = {https://doi.org/10.1007/978-3-030-28346-9_8},
1294 abstract = {The Internet of Things, IoT, brings us large amounts of connected computing devices that are equipped with dedicated sensors and actuators. These computing devices are typically driven by a cheap microprocessor system with a relatively slow processor and a very limited amount of memory. Due to the special input-output capabilities of IoT devices and their connections it is very attractive to execute (parts of) programs on these microcomputers.},
1295 booktitle = {Central {European} {Functional} {Programming} {School}: 6th {Summer} {School}, {CEFP} 2015, {Budapest}, {Hungary}, {July} 610, 2015, {Revised} {Selected} {Papers}},
1296 publisher = {Springer International Publishing},
1297 author = {Koopman, Pieter and Plasmeijer, Rinus},
1298 editor = {Zsók, Viktória and Porkoláb, Zoltán and Horváth, Zoltán},
1299 year = {2019},
1300 doi = {10.1007/978-3-030-28346-9_8},
1301 pages = {283--340},
1302 file = {Koopman and Plasmeijer - 2019 - Type-Safe Functions and Tasks in a Shallow Embedde.pdf:/home/mrl/.local/share/zotero/storage/UY2DY4EJ/Koopman and Plasmeijer - 2019 - Type-Safe Functions and Tasks in a Shallow Embedde.pdf:application/pdf},
1303 }
1304
1305 @techreport{cheney_first-class_2003,
1306 title = {First-class phantom types},
1307 url = {https://ecommons.cornell.edu/handle/1813/5614},
1308 number = {TR2003-1901},
1309 urldate = {2017-05-15},
1310 institution = {Cornell University},
1311 author = {Cheney, James and Hinze, Ralf},
1312 year = {2003},
1313 file = {Cheney and Hinze - 2003 - First-class phantom types.pdf:/home/mrl/.local/share/zotero/storage/IBKGCFG2/Cheney and Hinze - 2003 - First-class phantom types.pdf:application/pdf},
1314 }
1315
1316 @inproceedings{baars_typing_2002,
1317 address = {New York, NY, USA},
1318 series = {{ICFP} '02},
1319 title = {Typing {Dynamic} {Typing}},
1320 isbn = {1-58113-487-8},
1321 url = {https://doi.org/10.1145/581478.581494},
1322 doi = {10.1145/581478.581494},
1323 abstract = {Even when programming in a statically typed language we every now and then encounter statically untypable values; such values result from interpreting values or from communicating with the outside world. To cope with this problem most languages include some form of dynamic types. It may be that the core language has been explicitly extended with such a type, or that one is allowed to live dangerously by using functions like unsafeCoerce. We show how, by a careful use of existentially and universally quantified types, one may achievem the same effect, without extending the language with new or unsafe features. The techniques explained are universally applicable, provided the core language is expressive enough; this is the case for the common implementations of Haskell. The techniques are used in the description of a type checking compiler that, starting from an expression term, constructs a typed function representing the semantics of that expression. In this function the overhead associated with the type checking is only once being paid for; in this sense we have thus achieved static type checking.},
1324 booktitle = {Proceedings of the {Seventh} {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming}},
1325 publisher = {Association for Computing Machinery},
1326 author = {Baars, Arthur I. and Swierstra, S. Doaitse},
1327 year = {2002},
1328 note = {event-place: Pittsburgh, PA, USA},
1329 keywords = {coercions, dynamic typing, Haskell, Leibnitz' rule, quantified types, static typing, type equality, typed interpreters},
1330 pages = {157--166},
1331 file = {Baars and Swierstra - 2002 - Typing dynamic typing.pdf:/home/mrl/.local/share/zotero/storage/QSGVSTM4/Baars and Swierstra - 2002 - Typing dynamic typing.pdf:application/pdf},
1332 }
1333
1334 @inproceedings{young_adding_2021,
1335 address = {Berlin, Heidelberg},
1336 title = {On {Adding} {Pattern} {Matching} to {Haskell}-{Based} {Deeply} {Embedded} {Domain} {Specific} {Languages}},
1337 isbn = {978-3-030-67437-3},
1338 url = {https://doi.org/10.1007/978-3-030-67438-0_2},
1339 doi = {10.1007/978-3-030-67438-0_2},
1340 abstract = {Capturing control flow is the Achilles heel of Haskell-based deeply embedded domain specific languages. Rather than use the builtin control flow mechanisms, artificial control flow combinators are used instead. However, capturing traditional control flow in a deeply embedded domain specific language would support the writing of programs in a natural style by allowing the programmer to use the constructs that are already builtin to the base language, such as pattern matching and recursion. In this paper, we expand the capabilities of Haskell-based deep embeddings with a compiler extension for reifying conditionals and pattern matching. With this new support, the subset of Haskell that we use for expressing deeply embedded domain specific languages can be cleaner, Haskell-idiomatic, and more declarative in nature.},
1341 booktitle = {Practical {Aspects} of {Declarative} {Languages}: 23rd {International} {Symposium}, {PADL} 2021, {Copenhagen}, {Denmark}, {January} 18-19, 2021, {Proceedings}},
1342 publisher = {Springer-Verlag},
1343 author = {Young, David and Grebe, Mark and Gill, Andy},
1344 year = {2021},
1345 note = {event-place: Copenhagen, Denmark},
1346 pages = {20--36},
1347 }
1348
1349 @incollection{hinze_generic_2003,
1350 address = {Berlin, Heidelberg},
1351 title = {Generic {Haskell}: {Practice} and {Theory}},
1352 isbn = {978-3-540-45191-4},
1353 url = {https://doi.org/10.1007/978-3-540-45191-4_1},
1354 abstract = {Generic Haskell is an extension of Haskell that supports the construction of generic programs. These lecture notes describe the basic constructs of Generic Haskell and highlight the underlying theory.},
1355 booktitle = {Generic {Programming}: {Advanced} {Lectures}},
1356 publisher = {Springer Berlin Heidelberg},
1357 author = {Hinze, Ralf and Jeuring, Johan},
1358 editor = {Backhouse, Roland and Gibbons, Jeremy},
1359 year = {2003},
1360 doi = {10.1007/978-3-540-45191-4_1},
1361 pages = {1--56},
1362 file = {Hinze and Jeuring - Generic Haskell practice and theory.pdf:/home/mrl/.local/share/zotero/storage/QDRNI5VB/Hinze and Jeuring - Generic Haskell practice and theory.pdf:application/pdf},
1363 }
1364
1365 @inproceedings{torrano_strictness_2005,
1366 address = {Bristol, UK},
1367 series = {Trends in {Functional} {Programming}},
1368 title = {Strictness {Analysis} and let-to-case {Transformation} using {Template} {Haskell}},
1369 volume = {6},
1370 isbn = {978-1-84150-176-5},
1371 booktitle = {Revised {Selected} {Papers} from the {Sixth} {Symposium} on {Trends} in {Functional} {Programming}, {TFP} 2005, {Tallinn}, {Estonia}, 23-24 {September} 2005},
1372 publisher = {Intellect},
1373 author = {Torrano, Carmen and Segura, Clara},
1374 editor = {Eekelen, Marko C. J. D. van},
1375 year = {2005},
1376 note = {event-place: Talinn, Estonia},
1377 pages = {429--442},
1378 file = {Torrano and Segura - Strictness Analysis and let-to-case Transformation.pdf:/home/mrl/.local/share/zotero/storage/RIYW9WFT/Torrano and Segura - Strictness Analysis and let-to-case Transformation.pdf:application/pdf},
1379 }
1380
1381 @inproceedings{polak_automatic_2006,
1382 address = {Bristol, UK},
1383 series = {Trends in {Functional} {Programming}},
1384 title = {Automatic {Graphical} {User} {Interface} {Form} {Generation} {Using} {Template} {Haskell}},
1385 volume = {7},
1386 isbn = {978-1-84150-188-8},
1387 booktitle = {Revised {Selected} {Papers} from the {Seventh} {Symposium} on {Trends} in {Functional} {Programming}, {TFP} 2006, {Nottingham}, {United} {Kingdom}, 19-21 {April} 2006},
1388 publisher = {Intellect},
1389 author = {Polak, Gracjan and Jarosz, Janusz},
1390 editor = {Nilsson, Henrik},
1391 year = {2006},
1392 note = {event-place: Nottingham, UK},
1393 pages = {1--11},
1394 file = {Polak and Jarosz - Automatic Graphical User Interface Form Generation.pdf:/home/mrl/.local/share/zotero/storage/8VK3D8JQ/Polak and Jarosz - Automatic Graphical User Interface Form Generation.pdf:application/pdf},
1395 }
1396
1397 @phdthesis{antonova_mtask_2022,
1398 address = {Nijmegen},
1399 type = {Bachelor's {Thesis}},
1400 title = {{mTask} {Semantics} and its {Comparison} to {TopHat}},
1401 language = {en},
1402 school = {Radboud University},
1403 author = {Antonova, Elina},
1404 year = {2022},
1405 file = {Crooijmans - 2021 - Reducing the Power Consumption of IoT Devices in T.pdf:/home/mrl/.local/share/zotero/storage/YIEQ97KK/Crooijmans - 2021 - Reducing the Power Consumption of IoT Devices in T.pdf:application/pdf},
1406 }
1407
1408 @article{mcdonell_embedded_2021,
1409 title = {Embedded {Pattern} {Matching}},
1410 volume = {abs/2108.13114},
1411 url = {https://arxiv.org/abs/2108.13114},
1412 journal = {CoRR},
1413 author = {McDonell, Trevor L. and Meredith, Joshua D. and Keller, Gabriele},
1414 year = {2021},
1415 note = {arXiv: 2108.13114},
1416 file = {2108.13114.pdf:/home/mrl/.local/share/zotero/storage/AJAT8AXI/2108.13114.pdf:application/pdf},
1417 }
1418
1419 @misc{wadler_expression_1998,
1420 title = {The expression problem},
1421 url = {https://homepages.inf.ed.ac.uk/wadler/papers/expression/expression.txt},
1422 language = {en},
1423 urldate = {2021-02-24},
1424 author = {Wadler, Philip},
1425 month = nov,
1426 year = {1998},
1427 note = {e-mail message, accessed on 2021-02-24},
1428 }
1429
1430 @misc{margaret_deuter_rhapsody_2015,
1431 address = {Oxford},
1432 edition = {Ninth edition},
1433 title = {Rhapsody},
1434 journal = {Oxford Advanced Learner's Dictionary of Current English},
1435 publisher = {Oxford University Press},
1436 author = {{A S Hornby}},
1437 editor = {{Margaret Deuter} and {Jennifer Bradbery} and {Joanna Turnbull}},
1438 year = {2015},
1439 }
1440
1441 @misc{wikipedia_contributors_rhapsody_2022,
1442 title = {Rhapsody (music){Wikipedia}, {The} {Free} {Encyclopedia}},
1443 url = {https://en.wikipedia.org/w/index.php?title=Rhapsody_(music)\&oldid=1068385257},
1444 urldate = {2022-09-06},
1445 journal = {Wikipedia},
1446 author = {{Wikipedia contributors}},
1447 year = {2022},
1448 note = {accessed on: 2022-09-06},
1449 }
1450
1451 @incollection{backus_introduction_1990,
1452 address = {USA},
1453 title = {An {Introduction} to the {Programming} {Language} {FL}},
1454 isbn = {0-201-17236-4},
1455 booktitle = {Research {Topics} in {Functional} {Programming}},
1456 publisher = {Addison-Wesley Longman Publishing Co., Inc.},
1457 author = {Backus, John and Williams, John H. and Wimmers, Edward L.},
1458 year = {1990},
1459 pages = {219--247},
1460 }
1461
1462 @article{achten_ins_1995,
1463 title = {The ins and outs of {Clean} {I}/{O}},
1464 volume = {5},
1465 doi = {10.1017/S0956796800001258},
1466 number = {1},
1467 journal = {Journal of Functional Programming},
1468 author = {Achten, Peter and Plasmeijer, Rinus},
1469 year = {1995},
1470 note = {Publisher: Cambridge University Press},
1471 pages = {81--110},
1472 }
1473
1474 @inproceedings{peyton_jones_imperative_1993,
1475 address = {New York, NY, USA},
1476 series = {{POPL} '93},
1477 title = {Imperative {Functional} {Programming}},
1478 isbn = {0-89791-560-7},
1479 url = {https://doi.org/10.1145/158511.158524},
1480 doi = {10.1145/158511.158524},
1481 abstract = {We present a new model, based on monads, for performing input/output in a non-strict, purely functional language. It is composable, extensible, efficient, requires no extensions to the type system, and extends smoothly to incorporate mixed-language working and in-place array updates.},
1482 booktitle = {Proceedings of the 20th {ACM} {SIGPLAN}-{SIGACT} {Symposium} on {Principles} of {Programming} {Languages}},
1483 publisher = {Association for Computing Machinery},
1484 author = {Peyton Jones, Simon L. and Wadler, Philip},
1485 year = {1993},
1486 note = {event-place: Charleston, South Carolina, USA},
1487 pages = {71--84},
1488 file = {Peyton Jones and Wadler - 1993 - Imperative Functional Programming.pdf:/home/mrl/.local/share/zotero/storage/9DQ5V3N3/Peyton Jones and Wadler - 1993 - Imperative Functional Programming.pdf:application/pdf},
1489 }
1490
1491 @inproceedings{achten_high_1993,
1492 address = {London},
1493 title = {High {Level} {Specification} of {I}/{O} in {Functional} {Languages}},
1494 isbn = {978-1-4471-3215-8},
1495 abstract = {The interface with the outside world has always been one of the weakest points of functional languages. It is not easy to incorporate I/O without being allowed to do side-effects. Furthermore, functional languages allow redexes to be evaluated in any order while I/O generally has to be performed in a very specific order. In this paper we present a new solution for the I/O problem which we have incorporated in the language Concurrent Clean. Concurrent Clean offers a linear type system called Unique Types. It makes it possible to define functions with side-effects without violating the functional semantics. Now it is possible to change any object in the world in the way we wanted: e.g. arrays can be updated in-situ, arbitrary file manipulation is possible. We have used this powerful tool among others to create a library for window based I/O. Using an explicit environment passing scheme provides a high-level and elegant functional specification method for I/O, called Event I/O. Now the specification of I/O has become one of the strengths of functional languages: interactive programs written in Concurrent Clean are concise, easy to write and comprehend as well as efficient. The presented solution can in principle be applied for any other functional language as well provided that it actually uses graph rewriting semantics in the implementation.},
1496 booktitle = {Functional {Programming}, {Glasgow} 1992},
1497 publisher = {Springer London},
1498 author = {Achten, Peter and van Groningen, John and Plasmeijer, Rinus},
1499 editor = {Launchbury, John and Sansom, Patrick},
1500 year = {1993},
1501 pages = {1--17},
1502 file = {Achten et al. - 1993 - High Level Specification of IO in Functional Lang.pdf:/home/mrl/.local/share/zotero/storage/4QVH7AYC/Achten et al. - 1993 - High Level Specification of IO in Functional Lang.pdf:application/pdf},
1503 }
1504
1505 @inproceedings{pickering_staged_2020,
1506 address = {New York, NY, USA},
1507 series = {Haskell 2020},
1508 title = {Staged {Sums} of {Products}},
1509 isbn = {978-1-4503-8050-8},
1510 url = {https://doi.org/10.1145/3406088.3409021},
1511 doi = {10.1145/3406088.3409021},
1512 abstract = {Generic programming libraries have historically traded efficiency in return for convenience, and the generics-sop library is no exception. It offers a simple, uniform, representation of all datatypes precisely as a sum of products, making it easy to write generic functions. We show how to finally make generics-sop fast through the use of staging with Typed Template Haskell.},
1513 booktitle = {Proceedings of the 13th {ACM} {SIGPLAN} {International} {Symposium} on {Haskell}},
1514 publisher = {Association for Computing Machinery},
1515 author = {Pickering, Matthew and Löh, Andres and Wu, Nicolas},
1516 year = {2020},
1517 note = {event-place: Virtual Event, USA},
1518 keywords = {generic programming, staging},
1519 pages = {122--135},
1520 file = {Pickering et al. - 2020 - Staged Sums of Products.pdf:/home/mrl/.local/share/zotero/storage/Q6ZWX4YP/Pickering et al. - 2020 - Staged Sums of Products.pdf:application/pdf},
1521 }
1522
1523 @article{xie_staging_2022,
1524 title = {Staging with {Class}: {A} {Specification} for {Typed} {Template} {Haskell}},
1525 volume = {6},
1526 url = {https://doi.org/10.1145/3498723},
1527 doi = {10.1145/3498723},
1528 abstract = {Multi-stage programming using typed code quotation is an established technique for writing optimizing code generators with strong type-safety guarantees. Unfortunately, quotation in Haskell interacts poorly with type classes, making it difficult to write robust multi-stage programs. We study this unsound interaction and propose a resolution, staged type class constraints, which we formalize in a source calculus λ⇒ that elaborates into an explicit core calculus F. We show type soundness of both calculi, establishing that well-typed, well-staged source programs always elaborate to well-typed, well-staged core programs, and prove beta and eta rules for code quotations. Our design allows programmers to incorporate type classes into multi-stage programs with confidence. Although motivated by Haskell, it is also suitable as a foundation for other languages that support both overloading and quotation.},
1529 number = {POPL},
1530 journal = {Proc. ACM Program. Lang.},
1531 author = {Xie, Ningning and Pickering, Matthew and Löh, Andres and Wu, Nicolas and Yallop, Jeremy and Wang, Meng},
1532 month = jan,
1533 year = {2022},
1534 note = {Place: New York, NY, USA
1535 Publisher: Association for Computing Machinery},
1536 keywords = {Staging, Type Classes, Typed Template Haskell},
1537 file = {Xie et al. - 2022 - Staging with Class A Specification for Typed Temp.pdf:/home/mrl/.local/share/zotero/storage/QGDB5YHR/Xie et al. - 2022 - Staging with Class A Specification for Typed Temp.pdf:application/pdf},
1538 }
1539
1540 @article{rhiger_type-safe_2009,
1541 title = {Type-safe pattern combinators},
1542 volume = {19},
1543 doi = {10.1017/S0956796808007089},
1544 number = {2},
1545 journal = {Journal of Functional Programming},
1546 author = {Rhiger, Morten},
1547 year = {2009},
1548 note = {Publisher: Cambridge University Press},
1549 pages = {145--156},
1550 file = {RHIGER - 2009 - Type-safe pattern combinators.pdf:/home/mrl/.local/share/zotero/storage/D4N7PGBS/RHIGER - 2009 - Type-safe pattern combinators.pdf:application/pdf},
1551 }
1552
1553 @inproceedings{de_vries_true_2014,
1554 address = {New York, NY, USA},
1555 series = {{WGP} '14},
1556 title = {True {Sums} of {Products}},
1557 isbn = {978-1-4503-3042-8},
1558 url = {https://doi.org/10.1145/2633628.2633634},
1559 doi = {10.1145/2633628.2633634},
1560 abstract = {We introduce the sum-of-products (SOP) view for datatype-generic programming (in Haskell). While many of the libraries that are commonly in use today represent datatypes as arbitrary combinations of binary sums and products, SOP reflects the structure of datatypes more faithfully: each datatype is a single n-ary sum, where each component of the sum is a single n-ary product. This representation turns out to be expressible accurately in GHC with today's extensions. The resulting list-like structure of datatypes allows for the definition of powerful high-level traversal combinators, which in turn encourage the definition of generic functions in a compositional and concise style. A major plus of the SOP view is that it allows to separate function-specific metadata from the main structural representation and recombining this information later.},
1561 booktitle = {Proceedings of the 10th {ACM} {SIGPLAN} {Workshop} on {Generic} {Programming}},
1562 publisher = {Association for Computing Machinery},
1563 author = {de Vries, Edsko and Löh, Andres},
1564 year = {2014},
1565 note = {event-place: Gothenburg, Sweden},
1566 keywords = {datatype-generic programming, generic views, json, lenses, metadata, sums of products, universes},
1567 pages = {83--94},
1568 file = {de Vries and Löh - 2014 - True Sums of Products.pdf:/home/mrl/.local/share/zotero/storage/QHT5IPQA/de Vries and Löh - 2014 - True Sums of Products.pdf:application/pdf},
1569 }
1570
1571 @article{willis_staged_2020,
1572 title = {Staged {Selective} {Parser} {Combinators}},
1573 volume = {4},
1574 url = {https://doi.org/10.1145/3409002},
1575 doi = {10.1145/3409002},
1576 abstract = {Parser combinators are a middle ground between the fine control of hand-rolled parsers and the high-level almost grammar-like appearance of parsers created via parser generators. They also promote a cleaner, compositional design for parsers. Historically, however, they cannot match the performance of their counterparts. This paper describes how to compile parser combinators into parsers of hand-written quality. This is done by leveraging the static information present in the grammar by representing it as a tree. However, in order to exploit this information, it will be necessary to drop support for monadic computation since this generates dynamic structure. Selective functors can help recover lost functionality in the absence of monads, and the parser tree can be partially evaluated with staging. This is implemented in a library called Parsley.},
1577 number = {ICFP},
1578 journal = {Proc. ACM Program. Lang.},
1579 author = {Willis, Jamie and Wu, Nicolas and Pickering, Matthew},
1580 month = aug,
1581 year = {2020},
1582 note = {Place: New York, NY, USA
1583 Publisher: Association for Computing Machinery},
1584 keywords = {combinators, meta-programming, parsers},
1585 file = {Willis et al. - 2020 - Staged Selective Parser Combinators.pdf:/home/mrl/.local/share/zotero/storage/RCD842QK/Willis et al. - 2020 - Staged Selective Parser Combinators.pdf:application/pdf},
1586 }
1587
1588 @inproceedings{pickering_multi-stage_2019,
1589 address = {New York, NY, USA},
1590 series = {Haskell 2019},
1591 title = {Multi-{Stage} {Programs} in {Context}},
1592 isbn = {978-1-4503-6813-1},
1593 url = {https://doi.org/10.1145/3331545.3342597},
1594 doi = {10.1145/3331545.3342597},
1595 abstract = {Cross-stage persistence is an essential aspect of multi-stage programming that allows a value defined in one stage to be available in another. However, difficulty arises when implicit information held in types, type classes and implicit parameters needs to be persisted. Without a careful treatment of such implicit information—which are pervasive in Haskell—subtle yet avoidable bugs lurk beneath the surface. This paper demonstrates that in multi-stage programming care must be taken when representing quoted terms so that important implicit information is kept in context and not discarded. The approach is formalised with a type-system, and an implementation in GHC is presented that fixes problems of the previous incarnation.},
1596 booktitle = {Proceedings of the 12th {ACM} {SIGPLAN} {International} {Symposium} on {Haskell}},
1597 publisher = {Association for Computing Machinery},
1598 author = {Pickering, Matthew and Wu, Nicolas and Kiss, Csongor},
1599 year = {2019},
1600 note = {event-place: Berlin, Germany},
1601 keywords = {implicits, metaprogramming, staging},
1602 pages = {71--84},
1603 file = {Pickering et al. - 2019 - Multi-Stage Programs in Context.pdf:/home/mrl/.local/share/zotero/storage/3EW7FM44/Pickering et al. - 2019 - Multi-Stage Programs in Context.pdf:application/pdf},
1604 }
1605
1606 @article{pickering_specification_2021,
1607 title = {A {Specification} for {Typed} {Template} {Haskell}},
1608 volume = {abs/2112.03653},
1609 url = {https://arxiv.org/abs/2112.03653},
1610 journal = {CoRR},
1611 author = {Pickering, Matthew and Löh, Andres and Wu, Nicolas},
1612 year = {2021},
1613 note = {arXiv: 2112.03653},
1614 file = {Pickering et al. - 2021 - A Specification for Typed Template Haskell.pdf:/home/mrl/.local/share/zotero/storage/YBTN4DLK/Pickering et al. - 2021 - A Specification for Typed Template Haskell.pdf:application/pdf},
1615 }
1616
1617 @inproceedings{folmer_high-level_2022,
1618 address = {Cham},
1619 title = {High-{Level} {Synthesis} of {Digital} {Circuits} from {Template} {Haskell} and {SDF}-{AP}},
1620 isbn = {978-3-031-15074-6},
1621 abstract = {Functional languages as input specifications for HLS-tools allow to specify data dependencies but do not contain a notion of time nor execution order. In this paper, we propose a method to add this notion to the functional description using the dataflow model SDF-AP. SDF-AP consists of patterns that express consumption and production that we can use to enforce resource usage. We created an HLS-tool that can synthesize parallel hardware, both data and control path, based on the repetition, expressed in Higher-Order Functions, combined with specified SDF-AP patterns.},
1622 booktitle = {Embedded {Computer} {Systems}: {Architectures}, {Modeling}, and {Simulation}},
1623 publisher = {Springer International Publishing},
1624 author = {Folmer, H. H. and Groote, R. de and Bekooij, M. J. G.},
1625 editor = {Orailoglu, Alex and Reichenbach, Marc and Jung, Matthias},
1626 year = {2022},
1627 pages = {3--27},
1628 file = {Folmer et al. - 2022 - High-Level Synthesis of Digital Circuits from Temp.pdf:/home/mrl/.local/share/zotero/storage/5JSW6MAL/Folmer et al. - 2022 - High-Level Synthesis of Digital Circuits from Temp.pdf:application/pdf},
1629 }
1630
1631 @article{materzok_generating_2022,
1632 title = {Generating {Circuits} with {Generators}},
1633 volume = {6},
1634 url = {https://doi.org/10.1145/3549821},
1635 doi = {10.1145/3549821},
1636 abstract = {The most widely used languages and methods used for designing digital hardware fall into two rough categories. One of them, register transfer level (RTL), requires specifying each and every component in the designed circuit. This gives the designer full control, but burdens the designer with many trivial details. The other, the high-level synthesis (HLS) method, allows the designer to abstract the details of hardware away and focus on the problem being solved. This method however cannot be used for a class of hardware design problems because the circuit's clock is also abstracted away. We present YieldFSM, a hardware description language that uses the generator abstraction to represent clock-level timing in a digital circuit. It represents a middle ground between the RTL and HLS approaches: the abstraction level is higher than in RTL, but thanks to explicit information about clock-level timing, it can be used in applications where RTL is traditionally used. We also present the YieldFSM compiler, which uses methods developed by the functional programming community – including continuation-passsing style translation and defunctionalization – to translate YieldFSM programs to Mealy machines. It is implemented using Template Haskell and the Clash functional hardware description language. We show that this approach leads to short and conceptually simple hardware descriptions.},
1637 number = {ICFP},
1638 journal = {Proc. ACM Program. Lang.},
1639 author = {Materzok, Marek},
1640 month = aug,
1641 year = {2022},
1642 note = {Place: New York, NY, USA
1643 Publisher: Association for Computing Machinery},
1644 keywords = {circuit synthesis, generators, hardware description languages},
1645 file = {Materzok - 2022 - Generating Circuits with Generators.pdf:/home/mrl/.local/share/zotero/storage/LH4Q8J73/Materzok - 2022 - Generating Circuits with Generators.pdf:application/pdf},
1646 }
1647
1648 @article{egi_embedding_2022,
1649 title = {Embedding {Non}-linear {Pattern} {Matching} with {Backtracking} for {Non}-free {Data} {Types} into {Haskell}},
1650 volume = {40},
1651 issn = {1882-7055},
1652 url = {https://doi.org/10.1007/s00354-022-00177-z},
1653 doi = {10.1007/s00354-022-00177-z},
1654 abstract = {Pattern matching is an important language construct for data abstraction. Many pattern-match extensions have been developed for extending the range of data types to which pattern matching is applicable. Among them, the pattern-match system proposed by Egi and Nishiwaki features practical pattern matching for non-free data types by providing a user-customizable non-linear pattern-match facility with backtracking. However, they implemented their proposal only in dynamically typed programming languages, and there were no proposals that allow programmers to benefit from both static type systems and expressive pattern matching. This paper proposes a method for implementing this pattern-match facility by meta-programming in Haskell. There are two technical challenges: (i) we need to design a set of typing rules for the pattern-match facility; (ii) we need to embed these typing rules in Haskell to make types of the pattern-match expressions inferable by the Haskell type system. We propose a set of typing rules and show that several GHC extensions, such as multi-parameter type classes, datatype promotion, GADTs, existential types, and view patterns, play essential roles for embedding these typing rules into Haskell. The implementation has already been distributed as a Haskell library miniEgison via Hackage.},
1655 number = {2},
1656 journal = {New Generation Computing},
1657 author = {Egi, Satoshi and Kawata, Akira and Kori, Mayuko and Ogawa, Hiromi},
1658 month = jul,
1659 year = {2022},
1660 pages = {481--506},
1661 file = {Egi et al. - 2022 - Embedding Non-linear Pattern Matching with Backtra.pdf:/home/mrl/.local/share/zotero/storage/PXT9L9Z4/Egi et al. - 2022 - Embedding Non-linear Pattern Matching with Backtra.pdf:application/pdf},
1662 }
1663
1664 @inproceedings{blanchette_liquid_2022,
1665 address = {New York, NY, USA},
1666 series = {Haskell 2022},
1667 title = {Liquid {Proof} {Macros}},
1668 isbn = {978-1-4503-9438-3},
1669 url = {https://doi.org/10.1145/3546189.3549921},
1670 doi = {10.1145/3546189.3549921},
1671 abstract = {Liquid Haskell is a popular verifier for Haskell programs, leveraging the power of SMT solvers to ease users' burden of proof. However, this power does not come without a price: convincing Liquid Haskell that a program is correct often necessitates giving hints to the underlying solver, which can be a tedious and verbose process that sometimes requires intricate knowledge of Liquid Haskell's inner workings. In this paper, we present Liquid Proof Macros, an extensible metaprogramming technique and framework for simplifying the development of Liquid Haskell proofs. We describe how to leverage Template Haskell to generate Liquid Haskell proof terms, via a tactic-inspired DSL interface for more concise and user-friendly proofs, and we demonstrate the capabilities of this framework by automating a wide variety of proofs from an existing Liquid Haskell benchmark.},
1672 booktitle = {Proceedings of the 15th {ACM} {SIGPLAN} {International} {Haskell} {Symposium}},
1673 publisher = {Association for Computing Machinery},
1674 author = {Blanchette, Henry and Vazou, Niki and Lampropoulos, Leonidas},
1675 year = {2022},
1676 note = {event-place: Ljubljana, Slovenia},
1677 keywords = {Liquid Haskell, Proof Macros, Tactics},
1678 pages = {27--38},
1679 file = {Blanchette et al. - 2022 - Liquid Proof Macros.pdf:/home/mrl/.local/share/zotero/storage/YXPCWQNI/Blanchette et al. - 2022 - Liquid Proof Macros.pdf:application/pdf},
1680 }
1681
1682 @phdthesis{baaij_digital_2015,
1683 address = {Netherlands},
1684 type = {{PhD} {Thesis}},
1685 title = {Digital circuit in {C}\${\textbackslash}lambda\${aSH}: functional specifications and type-directed synthesis},
1686 abstract = {Over the last three decades, the number of transistors used in microchips has increased by three orders of magnitude, from millions to billions. The productivity of the designers, however, lags behind. Managing to implement complex algorithms, while keeping non-functional properties within desired bounds, and thoroughly verifying the design against its specification, are the main difficulties in circuit design. As a motivation for our work we make a qualitative analysis of the tools available to circuit designers. Here we see that progress has been slow, and that the same techniques have been used for over 20 years. We claim that functional languages can be used to raise the abstraction level in circuit design. Especially higher-order functional languages, where functions are first-class and can be manipulated by other functions, offer a single abstraction mechanism that can capture many design patterns. This thesis explores the idea of using the functional language Haskell directly as a hardware specification language, and move beyond the limitations of embedded languages. Additionally, we can use normal functions from existing Haskell libraries to model the behaviour of our circuits. This thesis describes the inner workings of our CλaSH compiler, which translates the aforementioned circuit descriptions written in Haskell to low-level descriptions in VHDL. The challenge then becomes the reduction of the higher-level abstractions in the descriptions to a form where synthesis is feasible. This thesis describes a term rewrite system (with bound variables) to achieve this reduction. We prove that this term rewrite system always reduces a polymorphic, higher-order circuit description to a synthesisable variant. Even when descriptions use high-level abstractions, the CλaSH compiler can synthesize efficient circuits. Case studies show that circuits designed in Haskell, and synthesized with the C?aSH compiler, are on par with hand-written VHDL, in both area and gate propagation delay. This thesis thus shows the merits of using a modern functional language for circuit design. The advanced type system and higher-order functions allow us to design circuits that have the desired property of being correct-by-construction. Finally, our synthesis approach enables us to derive efficient circuits from descriptions that use high-level abstractions.},
1687 language = {Undefined},
1688 school = {University of Twente},
1689 author = {Baaij, C. P. R.},
1690 month = jan,
1691 year = {2015},
1692 doi = {10.3990/1.9789036538039},
1693 note = {ISBN: 978-90-365-3803-9},
1694 keywords = {Digital Circuits, EC Grant Agreement nr.: FP7/248465, EC Grant Agreement nr.: FP7/610686, EWI-23939, FPGA, Functional Programming, Hardware, Haskell, IR-93962, Lambda calculus, METIS-308711, Rewrite Systems},
1695 file = {Baaij - 2015 - Digital circuit in CλaSH functional specification.pdf:/home/mrl/.local/share/zotero/storage/MYJ33ISL/Baaij - 2015 - Digital circuit in CλaSH functional specification.pdf:application/pdf},
1696 }