more updates
authorMart Lubbers <mart@martlubbers.net>
Thu, 10 Nov 2022 13:21:40 +0000 (14:21 +0100)
committerMart Lubbers <mart@martlubbers.net>
Thu, 10 Nov 2022 13:21:40 +0000 (14:21 +0100)
glossaries.tex
intro/img/person0.jpg [new file with mode: 0644]
intro/img/person1.jpg [new file with mode: 0644]
intro/img/person2.jpg [new file with mode: 0644]
intro/intro.tex
other.bib

index 5ed2de5..e13b19f 100644 (file)
@@ -7,13 +7,13 @@
 \myacronym{ADC}{ADC}{analog-to-digital converter}
 \myacronym{ADT}{ADT}{algebraic data type}
 \myacronym{API}{API}{application programming interface}
-\myacronym{ARDSL}{ARDSL}{\glsentrytext{ARDUINO} \glsxtrshort{DSL}}
+\myacronym{ARDSL}{ARDSL}{\gls{ARDUINO} \glsxtrshort{DSL}}
 \myacronym{BLE}{BLE}{Bluetooth low energy}
 \myacronym{CEFP}{CEFP}{central European summer school of \glsxtrlong{FP}}
-\myacronym{CRS}{CRS}{\glsentrytext{CLEAN} Raspberry Pi system}
-\myacronym{CRTS}{CRTS}{\glsentrytext{CLEAN} Raspberry Pi temperature sensor}
-\myacronym{CWS}{CWS}{\glsentrytext{CLEAN} \glsentrytext{WEMOS} system}
-\myacronym{CWTS}{CWTS}{\glsentrytext{CLEAN} \glsentrytext{WEMOS} temperature sensor}
+\myacronym{CRS}{CRS}{\gls{CLEAN} Raspberry Pi system}
+\myacronym{CRTS}{CRTS}{\gls{CLEAN} Raspberry Pi temperature sensor}
+\myacronym{CWS}{CWS}{\gls{CLEAN} \gls{WEMOS} system}
+\myacronym{CWTS}{CWTS}{\gls{CLEAN} \gls{WEMOS} temperature sensor}
 \myacronym{DHT}{DHT}{digital humidity and temperature}
 \myacronym{DSL}{DSL}{domain-specific language}
 \myacronym{ECO2}{eCO\textsubscript{2}}{equivalent carbon dioxide}
 \myacronym{FP}{FP}{functional programming}
 \myacronym{FRP}{FRP}{functional reactive programming}
 \myacronym{GADT}{GADT}{generalised \glsxtrshort{ADT}}
-\myacronym{GHC}{GHC}{Glasgow \glsentrytext{HASKELL} Compiler}
+\myacronym{GHC}{GHC}{Glasgow \gls{HASKELL} Compiler}
 \myacronym{GPIO}{GPIO}{general-purpose \glsxtrlong{IO}}
 \myacronym{GPL}{GPL}{general-purpose language}
 \myacronym{GRS}{GRS}{graph rewriting system}
 \myacronym{GUI}{GUI}{graphical \glsxtrlong{UI}}
 \myacronym{HOAS}{HOAS}{high-order abstract syntax}
-\myacronym{IOT}{IoT}{internet of things}
+\myacronym{IOT}{Io\kern-.3mmT}{internet of things}
 \myacronym{IDE}{IDE}{integrated development environment}
 \myacronym{IO}{IO}{input/output}
 \myacronym{IR}{IL}{intermediate representation}
 \myacronym{OS}{OS}{operating system}
 \myacronym{OTA}{OTA}{over-the-air}
 \myacronym{PIR}{PIR}{passive infrared}
-\myacronym{PRS}{PRS}{\glsentrytext{PYTHON} Raspberry Pi system}
-\myacronym{PWS}{PWS}{\glsentrytext{MICROPYTHON} \glsentrytext{WEMOS} system}
-\myacronym{PRTS}{PRTS}{\glsentrytext{PYTHON} Raspberry Pi temperature sensor}
-\myacronym{PWTS}{PWTS}{\glsentrytext{MICROPYTHON} \glsentrytext{WEMOS} temperature sensor}
+\myacronym{PRS}{PRS}{\gls{PYTHON} Raspberry Pi system}
+\myacronym{PWS}{PWS}{\gls{MICROPYTHON} \gls{WEMOS} system}
+\myacronym{PRTS}{PRTS}{\gls{PYTHON} Raspberry Pi temperature sensor}
+\myacronym{PWTS}{PWTS}{\gls{MICROPYTHON} \gls{WEMOS} temperature sensor}
 \myacronym{QDSL}{QDSL}{quoted \glsxtrshort{DSL}}
 \myacronym{RAM}{RAM}{random-access memory}
 \myacronym{RFID}{RFID}{radio-frequency identification}
@@ -49,7 +49,7 @@
 \myacronym{SDS}{SDS}{shared data source}
 \myacronym{SN}{SN}{sensor network}
 \myacronym{SLOC}{SLOC}{source lines of code}
-\myacronym{TH}{TH}{Template \glsentrytext{HASKELL}}
+\myacronym{TH}{TH}{Template \gls{HASKELL}}
 \myacronym{TCP}{TCP}{transmission control protocol}
 \myacronym{TOP}{TOP}{task-oriented programming}
 \myacronym{TOSD}{TOSD}{task-oriented software development}
diff --git a/intro/img/person0.jpg b/intro/img/person0.jpg
new file mode 100644 (file)
index 0000000..885d791
Binary files /dev/null and b/intro/img/person0.jpg differ
diff --git a/intro/img/person1.jpg b/intro/img/person1.jpg
new file mode 100644 (file)
index 0000000..7a5d812
Binary files /dev/null and b/intro/img/person1.jpg differ
diff --git a/intro/img/person2.jpg b/intro/img/person2.jpg
new file mode 100644 (file)
index 0000000..311eb93
Binary files /dev/null and b/intro/img/person2.jpg differ
index 26bf05d..745a6ab 100644 (file)
@@ -5,15 +5,14 @@
 \begin{document}
 \chapter{Prelude}%
 \label{chp:introduction}
-In 2022, there were an estimated number of 13.4 billion of connected computers that sense, act or otherwise interact with people, other computers and the physical world surrounding us\footnotemark{}.
-\footnotetext{\url{https://transformainsights.com/research/tam/market}, accessed on: \formatdate{2022}{10}{13}}
+In 2022, there were an estimated number of 13.4 billion of connected computers that sense, act or otherwise interact with people, other computers and the physical world surrounding us\footnote{\url{https://transformainsights.com/research/tam/market}, accessed on: \formatdate{13}{10}{2022}}.
 The variety among these devices is considerable but these devices have one thing in common though: they are all controlled by software.
 Concretely this means that programmers write code for these specific device to make sure the brains of the device---the processor---do what we want it to do.
 
-An increasing amount of these connected devices are so-called \emph{edge devices}.
+An increasing amount of these connected devices are so-called \emph{edge devices} that operate in the \gls{IOT}.
 Typically these edge devices are small microprocessors containing various sensors and actuators to interact with the physical world.
 They are often part of and coordinated by a bigger system called \gls{IOT} systems.
-
+The variety among the edge devices and the fact that they differ substantially from other devices makes it complex to program \gls{IOT} systems.
 
 %These ed
 %These edge devices differ very much from other devices we see around us.
@@ -164,39 +163,78 @@ This approach to software development is called \gls{TOSD} \citep{wang_maintaini
                The \gls{UOD} from the business layer is explicitly and separately modelled by the relations that exist in the functions of the host language.
 \end{description}
 
+
+\subsection{\texorpdfstring{\Gls{ITASK}}{ITask}}
 The concept of \gls{TOP} originated from the \gls{ITASK} framework, a declarative workflow language for defining multi-user distributed web applications implemented as an \gls{EDSL} in the lazy pure \gls{FP} language \gls{CLEAN} \citep{plasmeijer_itasks:_2007,plasmeijer_task-oriented_2012}.
-While \gls{ITASK} conceived \gls{TOP}, it is not the only \gls{TOP} language.
-Some \gls{TOP} languages arose from Master's and Bachelor's thesis projects (e.g.\ \textmu{}Task \citep{piers_task-oriented_2016} and LTasks \citep{van_gemert_task_2022}) or were created to solve a practical problem (e.g.\ Toppyt \citep{lijnse_toppyt_2022} and hTask \citep{lubbers_htask_2022}).
+From the structural properties of the data types, the entire user interface is automatically generated.
+
+As an example, \cref{fig:enter_person} shows the \gls{ITASK} code and the corresponding \gls{UI} for a simple task for entering a person.
+From the data type definitions (\crefrange{lst:dt_fro}{lst:dt_to}), using generic programming (\cref{lst:dt_derive}), the \glspl{UI} for the data types are automatically generated.
+Using task combinators (see \cleaninline{>>!} at \cref{lst:task_comb}), the tasks can be combined in sequence.
+Only when the user entered a complete value in the web editor, then the continue button enables and the result can be viewed.
+Special combinators (e.g.\ \cleaninline{@>>} at \cref{lst:task_ui}) are available to tweak the \gls{UI} afterwards.
+
+\begin{figure}[ht]
+       \begin{subfigure}[b]{.525\linewidth}
+               \begin{lstClean}
+:: Person =[+\label{lst:dt_fro}+]
+       { name        :: String
+       , gender      :: Gender
+       , dateOfBirth :: Date
+       }
+
+:: Gender
+       = Male
+       | Female
+       | Other String[+\label{lst:dt_to}+]
+
+derive class iTask Person, Gender[+\label{lst:dt_derive}+]
+
+enterPerson :: Task Person
+enterPerson
+       =   Hint "Enter a person:"
+               @>> enterInformation [] [+\label{lst:task_ui}+]
+       >>! \result -> Hint "You Entered:"[+\label{lst:task_comb}+]
+               @>> viewInformation [] result
+               \end{lstClean}
+               \caption{\Gls{CLEAN} code}
+       \end{subfigure}%
+       \begin{subfigure}[b]{.475\linewidth}
+               \includegraphics[width=\linewidth]{person0}
+               \includegraphics[width=\linewidth]{person1}
+               \includegraphics[width=\linewidth]{person2}
+               \caption{\Glsxtrlong{UI}}
+       \end{subfigure}
+       \caption{The \gls{UI} and code for entering a person in \gls{ITASK}.}%
+       \label{fig:enter_person}
+\end{figure}
 
+\subsection{Other \texorpdfstring{\glsxtrshort{TOP}}{TOP} languages}
+\Citet{steenvoorden_tophat_2022} defines two instruments for \gls{TOP}: \gls{TOP} languages and \gls{TOP} engines.
+A \gls{TOP} language is a formal language to specify workflows.
+A \gls{TOP} engine executes such a specification as a ready-for-work application.
+The \gls{ITASK} system is both a \gls{TOP} language and an engine.
+While \gls{ITASK} conceived \gls{TOP}, it is not the only \gls{TOP} language.
+Some \gls{TOP} languages and systems arose from Master's and Bachelor's thesis projects (e.g.\ \textmu{}Task \citep{piers_task-oriented_2016} and LTasks \citep{van_gemert_task_2022}) or were created to solve a practical problem (e.g.\ Toppyt \citep{lijnse_toppyt_2022} and hTask \citep{lubbers_htask_2022}).
 Furthermore, \gls{TOPHAT} is a fully formally specified \gls{TOP} language designed to capture the essence of \gls{TOP} formally \citep{steenvoorden_tophat_2019}.
- created \textmu{}Task, a \gls{TOP} language for specifying non-interruptible embedded systems implemented as an \gls{EDSL} in \gls{HASKELL}.
-\citet{van_gemert_task_2022} created LTasks, a \gls{TOP} language for interactive terminal applications implemented in LUA, a dynamically typed imperative language.
-\citet{lijnse_toppyt_2022} created Toppyt, a \gls{TOP} language based on \gls{ITASK}, implemented in \gls{PYTHON}, but designed to be simpler and smaller.
-Finally there is \gls{MTASK}, \gls{TOP} language designed for defining workflow for \gls{IOT} devices~\cite{koopman_task-based_2018}.
-It is written in \gls{CLEAN} as an \gls{EDSL} fully integrated with \gls{ITASK} and allows the programmer to define all layers of an \gls{IOT} system from a single source.
-
-\section{Reading guide}\label{sec:outline}
-This thesis presents a novel view on programming these \gls{IOT} systems as a purely functional rhapsody in three episodes.
+It is also possible to translate \gls{TOPHAT} code to \gls{ITASK} to piggyback on the \gls{TOP} engine it offers.
+
+\subsection{\texorpdfstring{\Gls{MTASK}}{MTask}}
+Finally there is \gls{MTASK}, a \gls{TOP} language designed for defining workflows for \gls{IOT} edge devices \citep{koopman_task-based_2018}.
+It is written in \gls{CLEAN} as a multi-view \gls{EDSL} fully integrated with \gls{ITASK}.
+Together with \gls{ITASK}, it allows the programmer to define all layers of an \gls{IOT} system from a single declarative specification.
+The domain-specific nature of the language allows for a very compact binary representation of the work that needs to be done.
+This specification can be interpreted on a device that runs the \gls{MTASK} \gls{RTS}, a domain-specific \gls{TOP} engine implemented as a feather-light domain-specific \gls{OS}.
+
+\section{Reading guide and contributions}\label{sec:contributions}
+This novel view on programming \gls{IOT} systems is presented in the thesis as a purely functional rhapsody in three episodes.
 On Wikipedia, a rhapsody is defined as follows \citep{wikipedia_contributors_rhapsody_2022}:
 \begin{quote}
        \emph{A \emph{rhapsody} in music is a one-movement work that is episodic yet integrated, free-flowing in structure, featuring a range of highly contrasted moods, colour, and tonality.
        An air of spontaneous inspiration and a sense of improvisation make it freer in form than a set of variations.}
 \end{quote}
 
-\subsection*{\nameref{chp:introduction}}
-\Cref{chp:introduction} introduces the contents of the thesis, provides background material on \gls{IOT}, \glspl{DSL} and \gls{TOP} (\cref{sec:back_iot}, \cref{sec:back_dsl}, and \cref{sec:back_top} respectively) and an overview of the contributions including a more technical outline in \cref{sec:contributions}.
-
-\subsection*{\Fullref{prt:dsl}}
-
-\subsection*{\Fullref{prt:top}}
-
-\subsection*{\Fullref{prt:tvt}}
-
-\subsection*{\nameref{chp:conclusion}}
-\Cref{chp:conclusion} wraps up with the coda that provides discussion and an outlook on future work.
-
-\section{Contributions}\label{sec:contributions}
-\subsection*{\nameref{prt:dsl}}
+\subsection{\nameref{prt:dsl}}
 The \gls{MTASK} system is a heterogeneous \gls{EDSL} and during the development of it, several novel basal techniques for embedding \glspl{DSL} in \gls{FP} languages have been found.
 This first episode is a cumulative---otherwise known as paper-based---episode consisting of two papers published on novel embedding techniques.
 Both papers are readable independently.
@@ -206,18 +244,19 @@ This chapter is based on the paper: \citeentry{lubbers_deep_2022}\todo{change in
 
 While supervising \citeauthor{amazonas_cabral_de_andrade_developing_2018}'s \citeyear{amazonas_cabral_de_andrade_developing_2018} Master's thesis, focussing on an early version of \gls{MTASK}, a seed was planted for a novel deep embedding technique for \glspl{DSL} where the resulting language is extendible both in constructs and in interpretation using type classes and existential data types.
 Slowly the ideas organically grew to form the technique shown in the paper.
-\Cref{sec:classy_reprise} was added after publication and contains a (yet) unpublished extension of the embedding technique.
+The related work section is updated with the research found only after publication.
+\Cref{sec:classy_reprise} was added after publication and contains a (yet) unpublished extension of the embedding technique for reducing the required boilerplate.
 The research from this paper and writing the paper was solely performed by me.
 
 \subsubsection*{\Fullref{chp:first-class_datatypes}}
 This chapter is based on the paper: \citeentry{lubbers_first-class_2022}\todo{change when accepted}.
 
 It shows how to inherit data types from the host language in \glspl{EDSL} using metaprogramming.
-It does so by providing a proof-of-concept implementation using \gls{HASKELL}'s metaprogramming system: \gls{TH}.
-Besides showing the result, the paper also serves as a gentle introduction to using \gls{TH} and contains a thorough literature study on research that uses \gls{TH}.
+It does so by providing a proof-of-concept implementation using \gls{HASKELL}'s metaprogramming system: \glsxtrlong{TH}.
+Besides showing the result, the paper also serves as a gentle introduction to using \glsxtrlong{TH} and contains a thorough literature study on research that uses \glsxtrlong{TH}.
 The research in this paper and writing the paper was performed by me, though there were weekly meetings with Pieter Koopman and Rinus Plasmeijer in which we discussed and refined the ideas.
 
-\subsection*{\nameref{prt:top}}
+\subsection{\nameref{prt:top}}
 This is a monograph compiled from several papers and revised lecture notes on \gls{MTASK}, the \gls{TOP} system used to orchestrate the \gls{IOT}.
 It provides a gentle introduction to the \gls{MTASK} system elaborates on \gls{TOP} for the \gls{IOT}.
 \todo[inline]{outline the chapters}
@@ -225,52 +264,63 @@ It provides a gentle introduction to the \gls{MTASK} system elaborates on \gls{T
 \begin{itemize}
        \item \citeentry{koopman_task-based_2018}
 
-               This was the initial \gls{TOP}/\gls{MTASK} paper.
+               This is the initial \gls{TOP}/\gls{MTASK} paper.
+               It provides an overview of the initial \gls{MTASK} language and shows first versions of a pretty printer, an \gls{ITASK} simulation and a \gls{C} code generation view.
+               \paragraph{Contribution}
                Pieter Koopman wrote it, I helped with the software and research.
        \item \citeentry{lubbers_task_2018}
                
                This paper was an extension of my Master's thesis \citep{lubbers_task_2017}.
                It shows how a simple imperative variant of \gls{MTASK} was integrated with \gls{ITASK}.
                While the language was a lot different than later versions, the integration mechanism is still used in \gls{MTASK} today.
+               \paragraph{Contribution}
                The research in this paper and writing the paper was performed by me, though there were weekly meetings with Pieter Koopman and Rinus Plasmeijer in which we discussed and refined the ideas.
        \item \citeentry{lubbers_multitasking_2019}\footnote{%
                This work acknowledges the support of the ERASMUS+ project ``Focusing Education on Composability, Comprehensibility and Correctness of Working Software'', no. 2017--1--SK01--KA203--035402
                }
 
                This paper was a short paper on the multitasking capabilities of \gls{MTASK} in contrast to traditional multitasking methods for \gls{ARDUINO}.
+               \paragraph{Contribution}
                The research in this paper and writing the paper was performed by me, though there were weekly meetings with Pieter Koopman and Rinus Plasmeijer.
        \item \citeentry{koopman_simulation_2018}\footnotemark[\value{footnote}]\todo{change when published}
 
                These revised lecture notes are from a course on the \gls{MTASK} simulator was provided at the 2018 \gls{CEFP}/\gls{3COWS} winter school in Ko\v{s}ice, Slovakia.
+               \paragraph{Contribution}
                Pieter Koopman wrote and taught it, I helped with the software and research.
        \item \citeentry{lubbers_writing_2019}\footnotemark[\value{footnote}]\todo{change when published}
 
                These revised lecture notes are from a course on programming in \gls{MTASK} provided at the 2019 \gls{CEFP}/\gls{3COWS} summer school in Budapest, Hungary.
+               \paragraph{Contribution}
                Pieter Koopman prepared and taught half of the lecture and supervised the practical session.
                I taught the other half of the lecture, wrote the lecture notes, made the assignments and supervised the practical session.
        \item \citeentry{lubbers_interpreting_2019}
 
                This paper shows an implementation for \gls{MTASK} for microcontrollers in the form of a compilation scheme and informal semantics description.
+               \paragraph{Contribution}
                The research in this paper and writing the paper was performed by me, though there were weekly meetings with Pieter Koopman and Rinus Plasmeijer.
        \item \citeentry{crooijmans_reducing_2022}\todo{change when published}
 
                This paper shows how to create a scheduler so that devices running \gls{MTASK} tasks can go to sleep more automatically.
+               \paragraph{Contribution}
                The research was carried out by \citet{crooijmans_reducing_2021} during his Master's thesis.
                I did the daily supervision and helped with the research, Pieter Koopman was the formal supervisor and wrote most of the paper.
        \item \emph{Green Computing for the Internet of Things}\footnote{
                This work acknowledges the support of the Erasmus+ project ``SusTrainable---Promoting Sustainability as a Fundamental Driver in Software Development Training and Education'', no. 2020--1--PT01--KA203--078646}\todo{change when published}
 
+               \paragraph{Contribution}
                These revised lecture notes are from a course on sustainable programming using \gls{MTASK} provided at the 2022 SusTrainable summer school in Rijeka, Croatia.
                Pieter prepared and taught a quarter of the lecture and supervised the practical session.
                I prepared and taught the other three quarters of the lecture, made the assignments and supervised the practical session\todo{writing contribution}.
 \end{itemize}
 
-\subsection*{\nameref{prt:tvt}}
+\subsection{\nameref{prt:tvt}}
 \Cref{prt:tvt} is based on a journal paper that quantitatively and qualitatively compares traditional \gls{IOT} architectures with \gls{IOT} systems using \gls{TOP} and contains a single chapter.
 This chapter is based on the journal paper: \citeentry{lubbers_could_2022}\todo{change when published}\footnote{This work is an extension of the conference article: \citeentry{lubbers_tiered_2020}\footnotemark{}}.
 \footnotetext{This paper was partly funded by the Radboud-Glasgow Collaboration Fund.}
 
 It compares programming traditional tiered architectures to tierless architectures by showing a qualitative and a quantitative four-way comparison of a smart-campus application.
+
+\paragraph{Contribution}
 Writing the paper was performed by all authors.
 I created the server application, the \gls{CLEAN}/\gls{ITASK}/\gls{MTASK} implementation (\glsxtrshort{CWS}) and the \gls{CLEAN}/\gls{ITASK} implementation (\glsxtrshort{CRS})
 Adrian Ramsingh created the \gls{MICROPYTHON} implementation (\glsxtrshort{PWS}), the original \gls{PYTHON} implementation (\glsxtrshort{PRS}) and the server application were created by \citet{hentschel_supersensors:_2016}.
index f12fde3..e798083 100644 (file)
--- a/other.bib
+++ b/other.bib
@@ -15,6 +15,7 @@
        series = {{PPDP} '12},
        title = {Task-{Oriented} {Programming} in a {Pure} {Functional} {Language}},
        isbn = {978-1-4503-1522-7},
+       url = {https://doi.org/10.1145/2370776.2370801},
        doi = {10.1145/2370776.2370801},
        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.},
        booktitle = {Proceedings of the 14th {Symposium} on {Principles} and {Practice} of {Declarative} {Programming}},
@@ -57,6 +58,7 @@
        series = {{POPL} '96},
        title = {Revisiting {Catamorphisms} over {Datatypes} with {Embedded} {Functions} (or, {Programs} from {Outer} {Space})},
        isbn = {0-89791-769-3},
+       url = {https://doi.org/10.1145/237721.237792},
        doi = {10.1145/237721.237792},
        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.},
        booktitle = {Proceedings of the 23rd {ACM} {SIGPLAN}-{SIGACT} {Symposium} on {Principles} of {Programming} {Languages}},
@@ -73,6 +75,7 @@
        series = {{PLDI} '88},
        title = {Higher-{Order} {Abstract} {Syntax}},
        isbn = {0-89791-269-1},
+       url = {https://doi.org/10.1145/53990.54010},
        doi = {10.1145/53990.54010},
        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.},
        booktitle = {Proceedings of the {ACM} {SIGPLAN} 1988 {Conference} on {Programming} {Language} {Design} and {Implementation}},
@@ -89,6 +92,7 @@
        series = {{ICFP} '08},
        title = {Parametric {Higher}-{Order} {Abstract} {Syntax} for {Mechanized} {Semantics}},
        isbn = {978-1-59593-919-7},
+       url = {https://doi.org/10.1145/1411204.1411226},
        doi = {10.1145/1411204.1411226},
        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.},
        booktitle = {Proceedings of the 13th {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming}},
        address = {New York, NY},
        title = {User-{Defined} {Types} and {Procedural} {Data} {Structures} as {Complementary} {Approaches} to {Data} {Abstraction}},
        isbn = {978-1-4612-6315-9},
+       url = {https://doi.org/10.1007/978-1-4612-6315-9_22},
        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.},
        booktitle = {Programming {Methodology}: {A} {Collection} of {Articles} by {Members} of {IFIP} {WG2}.3},
        publisher = {Springer New York},
        series = {{PPDP} '06},
        title = {Open {Data} {Types} and {Open} {Functions}},
        isbn = {1-59593-388-3},
+       url = {https://doi.org/10.1145/1140335.1140352},
        doi = {10.1145/1140335.1140352},
        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},
        booktitle = {Proceedings of the 8th {ACM} {SIGPLAN} {International} {Conference} on {Principles} and {Practice} of {Declarative} {Programming}},
        series = {{ICFP} '98},
        title = {Fold and {Unfold} for {Program} {Semantics}},
        isbn = {1-58113-024-4},
+       url = {https://doi.org/10.1145/289423.289457},
        doi = {10.1145/289423.289457},
        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.},
        booktitle = {Proceedings of the {Third} {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming}},
        title = {Dynamic {Typing} in a {Statically} {Typed} {Language}},
        volume = {13},
        issn = {0164-0925},
+       url = {https://doi.org/10.1145/103135.103138},
        doi = {10.1145/103135.103138},
        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.},
        number = {2},
@@ -265,6 +273,7 @@ Publisher: Association for Computing Machinery},
        title = {Abstract {Types} {Have} {Existential} {Type}},
        volume = {10},
        issn = {0164-0925},
+       url = {https://doi.org/10.1145/44501.45065},
        doi = {10.1145/44501.45065},
        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.},
        number = {3},
@@ -278,26 +287,12 @@ Publisher: Association for Computing Machinery},
        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},
 }
 
-@inproceedings{steenvoorden_tophat_2019,
-       address = {New York, NY, USA},
-       series = {{PPDP} '19},
-       title = {{TopHat}: {A} {Formal} {Foundation} for {Task}-{Oriented} {Programming}},
-       isbn = {978-1-4503-7249-7},
-       doi = {10.1145/3354166.3354182},
-       abstract = {Software that models how people work is omnipresent in today's society. Current languages and frameworks often focus on usability by non-programmers, sacrificing flexibility and high level abstraction. Task-oriented programming (TOP) is a programming paradigm that aims to provide the desired level of abstraction while still being expressive enough to describe real world collaboration. It prescribes a declarative programming style to specify multi-user workflows. Workflows can be higher-order. They communicate through typed values on a local and global level. Such specifications can be turned into interactive applications for different platforms, supporting collaboration during execution. TOP has been around for more than a decade, in the forms of iTasks and mTasks, which are tailored for real-world usability. So far, it has not been given a formalisation which is suitable for formal reasoning.In this paper we give a description of the TOP paradigm and then decompose its rich features into elementary language elements, which makes them suitable for formal treatment. We use the simply typed lambda-calculus, extended with pairs and references, as a base language. On top of this language, we develop TopHat, a language for modular interactive workflows. We describe TopHat by means of a layered semantics. These layers consist of multiple big-step evaluations on expressions, and two labelled transition systems, handling user inputs.With TopHat we prepare a way to formally reason about TOP languages and programs. This approach allows for comparison with other work in the field. We have implemented the semantic rules of TopHat in Haskell, and the task layer on top of the iTasks framework. This shows that our approach is feasible, and lets us demonstrate the concepts by means of illustrative case studies. TOP has been applied in projects with the Dutch coast guard, tax office, and navy. Our work matters because formal program verification is important for mission-critical software, especially for systems with concurrency.},
-       booktitle = {Proceedings of the 21st {International} {Symposium} on {Principles} and {Practice} of {Declarative} {Programming}},
-       publisher = {Association for Computing Machinery},
-       author = {Steenvoorden, Tim and Naus, Nico and Klinik, Markus},
-       year = {2019},
-       note = {event-place: Porto, Portugal},
-       file = {Steenvoorden et al. - 2019 - TopHat A Formal Foundation for Task-Oriented Prog.pdf:/home/mrl/.local/share/zotero/storage/W7HJ5MEF/Steenvoorden et al. - 2019 - TopHat A Formal Foundation for Task-Oriented Prog.pdf:application/pdf},
-}
-
 @inproceedings{yorgey_giving_2012,
        address = {New York, NY, USA},
        series = {{TLDI} '12},
        title = {Giving {Haskell} a {Promotion}},
        isbn = {978-1-4503-1120-5},
+       url = {https://doi.org/10.1145/2103786.2103795},
        doi = {10.1145/2103786.2103795},
        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.},
        booktitle = {Proceedings of the 8th {ACM} {SIGPLAN} {Workshop} on {Types} in {Language} {Design} and {Implementation}},
@@ -315,6 +310,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell '09},
        title = {Unembedding {Domain}-{Specific} {Languages}},
        isbn = {978-1-60558-508-6},
+       url = {https://doi.org/10.1145/1596638.1596644},
        doi = {10.1145/1596638.1596644},
        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.},
        booktitle = {Proceedings of the 2nd {ACM} {SIGPLAN} {Symposium} on {Haskell}},
@@ -346,6 +342,7 @@ Publisher: Association for Computing Machinery},
        address = {Cham},
        title = {Functional {Programming} for {Domain}-{Specific} {Languages}},
        isbn = {978-3-319-15940-9},
+       url = {https://doi.org/10.1007/978-3-319-15940-9_1},
        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.},
        booktitle = {Central {European} {Functional} {Programming} {School}: 5th {Summer} {School}, {CEFP} 2013, {Cluj}-{Napoca}, {Romania}, {July} 8-20, 2013, {Revised} {Selected} {Papers}},
        publisher = {Springer International Publishing},
@@ -357,6 +354,20 @@ Publisher: Association for Computing Machinery},
        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},
 }
 
+@incollection{lubbers_writing_2019,
+       address = {Cham},
+       title = {Writing {Internet} of {Things} applications with {Task} {Oriented} {Programming}},
+       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).},
+       language = {en},
+       booktitle = {Central {European} {Functional} {Programming} {School}: 8th {Summer} {School}, {CEFP} 2019, {Budapest}, {Hungary}, {July} 17–21, 2019, {Revised} {Selected} {Papers}},
+       publisher = {Springer International Publishing},
+       author = {Lubbers, Mart and Koopman, Pieter and Plasmeijer, Rinus},
+       year = {2019},
+       note = {in-press},
+       pages = {51},
+       file = {cefp.pdf:/home/mrl/.local/share/zotero/storage/VEWFI5DG/cefp.pdf:application/pdf},
+}
+
 @mastersthesis{veen_van_der_mutable_2020,
        address = {Nijmegen},
        title = {Mutable {Collection} {Types} in {Shallow} {Embedded} {DSLs}},
@@ -407,6 +418,7 @@ Publisher: Association for Computing Machinery},
        title = {Maintaining {Separation} of {Concerns} {Through} {Task} {Oriented} {Software} {Development}},
        volume = {10788},
        isbn = {978-3-319-89718-9 978-3-319-89719-6},
+       url = {http://link.springer.com/10.1007/978-3-319-89719-6_2},
        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.},
        language = {en},
        urldate = {2019-01-14},
@@ -474,6 +486,7 @@ few changes in existing programs.},
        title = {Supersensors: {Raspberry} {Pi} {Devices} for {Smart} {Campus} {Infrastructure}},
        isbn = {978-1-5090-4052-0},
        shorttitle = {Supersensors},
+       url = {http://ieeexplore.ieee.org/document/7575844/},
        doi = {10.1109/FiCloud.2016.16},
        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.},
        language = {en},
@@ -591,6 +604,7 @@ few changes in existing programs.},
        title = {A {Shallow} {Embedded} {Type} {Safe} {Extendable} {DSL} for the {Arduino}},
        volume = {9547},
        isbn = {978-3-319-39110-6},
+       url = {http://link.springer.com/10.1007/978-3-319-39110-6},
        urldate = {2017-02-22},
        booktitle = {Trends in {Functional} {Programming}},
        publisher = {Springer International Publishing},
@@ -602,6 +616,7 @@ few changes in existing programs.},
 
 @inproceedings{cheney_lightweight_2002,
        title = {A lightweight implementation of generics and dynamics},
+       url = {http://dl.acm.org/citation.cfm?id=581698},
        doi = {10.1145/581690.581698},
        urldate = {2017-05-15},
        booktitle = {Proceedings of the 2002 {ACM} {SIGPLAN} workshop on {Haskell}},
@@ -618,6 +633,7 @@ few changes in existing programs.},
        title = {A {Survey} of {Metaprogramming} {Languages}},
        volume = {52},
        issn = {0360-0300},
+       url = {https://doi.org/10.1145/3354584},
        doi = {10.1145/3354584},
        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.},
        number = {6},
@@ -636,6 +652,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell '07},
        title = {Why {It}'s {Nice} to {Be} {Quoted}: {Quasiquoting} for {Haskell}},
        isbn = {978-1-59593-674-5},
+       url = {https://doi.org/10.1145/1291201.1291211},
        doi = {10.1145/1291201.1291211},
        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.},
        booktitle = {Proceedings of the {ACM} {SIGPLAN} {Workshop} on {Haskell} {Workshop}},
@@ -652,6 +669,7 @@ Publisher: Association for Computing Machinery},
        title = {Domain {Specific} {Language} {Implementation} via {Compile}-{Time} {Meta}-{Programming}},
        volume = {30},
        issn = {0164-0925},
+       url = {https://doi.org/10.1145/1391956.1391958},
        doi = {10.1145/1391956.1391958},
        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.},
        number = {6},
@@ -670,6 +688,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell '08},
        title = {Making {Monads} {First}-{Class} with {Template} {Haskell}},
        isbn = {978-1-60558-064-7},
+       url = {https://doi.org/10.1145/1411286.1411300},
        doi = {10.1145/1411286.1411300},
        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.},
        booktitle = {Proceedings of the {First} {ACM} {SIGPLAN} {Symposium} on {Haskell}},
@@ -713,6 +732,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell '02},
        title = {Template {Meta}-{Programming} for {Haskell}},
        isbn = {1-58113-605-6},
+       url = {https://doi.org/10.1145/581690.581691},
        doi = {10.1145/581690.581691},
        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.},
        booktitle = {Proceedings of the 2002 {ACM} {SIGPLAN} {Workshop} on {Haskell}},
@@ -742,6 +762,7 @@ Publisher: Association for Computing Machinery},
 @article{hammond_automatic_2003,
        title = {{AUTOMATIC} {SKELETONS} {IN} {TEMPLATE} {HASKELL}},
        volume = {13},
+       url = {https://doi.org/10.1142/S0129626403001380},
        doi = {10.1142/S0129626403001380},
        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.},
        number = {03},
@@ -757,6 +778,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell '12},
        title = {Template {Your} {Boilerplate}: {Using} {Template} {Haskell} for {Efficient} {Generic} {Programming}},
        isbn = {978-1-4503-1574-6},
+       url = {https://doi.org/10.1145/2364506.2364509},
        doi = {10.1145/2364506.2364509},
        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.},
        booktitle = {Proceedings of the 2012 {Haskell} {Symposium}},
@@ -787,6 +809,7 @@ Publisher: Association for Computing Machinery},
        address = {Berlin, Heidelberg},
        title = {Embedding a {Hardware} {Description} {Language} in {Template} {Haskell}},
        isbn = {978-3-540-25935-0},
+       url = {https://doi.org/10.1007/978-3-540-25935-0_9},
        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.},
        booktitle = {Domain-{Specific} {Program} {Generation}: {International} {Seminar}, {Dagstuhl} {Castle}, {Germany}, {March} 23-28, 2003. {Revised} {Papers}},
        publisher = {Springer Berlin Heidelberg},
@@ -825,6 +848,7 @@ Publisher: Association for Computing Machinery},
        address = {Berlin, Heidelberg},
        title = {{DSL} {Implementation} in {MetaOCaml}, {Template} {Haskell}, and {C}++},
        isbn = {978-3-540-25935-0},
+       url = {https://doi.org/10.1007/978-3-540-25935-0_4},
        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.},
        booktitle = {Domain-{Specific} {Program} {Generation}: {International} {Seminar}, {Dagstuhl} {Castle}, {Germany}, {March} 23-28, 2003. {Revised} {Papers}},
        publisher = {Springer Berlin Heidelberg},
@@ -855,6 +879,7 @@ Publisher: Association for Computing Machinery},
        series = {{LFP} '86},
        title = {Hygienic {Macro} {Expansion}},
        isbn = {0-89791-200-4},
+       url = {https://doi.org/10.1145/319838.319859},
        doi = {10.1145/319838.319859},
        booktitle = {Proceedings of the 1986 {ACM} {Conference} on {LISP} and {Functional} {Programming}},
        publisher = {Association for Computing Machinery},
@@ -870,6 +895,7 @@ Publisher: Association for Computing Machinery},
        series = {{TLDI} '03},
        title = {Scrap {Your} {Boilerplate}: {A} {Practical} {Design} {Pattern} for {Generic} {Programming}},
        isbn = {1-58113-649-8},
+       url = {https://doi.org/10.1145/604174.604179},
        doi = {10.1145/604174.604179},
        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.},
        booktitle = {Proceedings of the 2003 {ACM} {SIGPLAN} {International} {Workshop} on {Types} in {Languages} {Design} and {Implementation}},
@@ -915,6 +941,7 @@ Publisher: Association for Computing Machinery},
        series = {{GPCE} 2014},
        title = {{LibDSL}: {A} {Library} for {Developing} {Embedded} {Domain} {Specific} {Languages} in d via {Template} {Metaprogramming}},
        isbn = {978-1-4503-3161-6},
+       url = {https://doi.org/10.1145/2658761.2658770},
        doi = {10.1145/2658761.2658770},
        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.},
        booktitle = {Proceedings of the 2014 {International} {Conference} on {Generative} {Programming}: {Concepts} and {Experiences}},
@@ -932,6 +959,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell '11},
        title = {Embedded {Parser} {Generators}},
        isbn = {978-1-4503-0860-1},
+       url = {https://doi.org/10.1145/2034675.2034689},
        doi = {10.1145/2034675.2034689},
        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.},
        booktitle = {Proceedings of the 4th {ACM} {Symposium} on {Haskell}},
@@ -949,6 +977,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell '14},
        title = {Promoting {Functions} to {Type} {Families} in {Haskell}},
        isbn = {978-1-4503-3041-1},
+       url = {https://doi.org/10.1145/2633357.2633361},
        doi = {10.1145/2633357.2633361},
        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.},
        booktitle = {Proceedings of the 2014 {ACM} {SIGPLAN} {Symposium} on {Haskell}},
@@ -966,6 +995,7 @@ Publisher: Association for Computing Machinery},
        series = {{IFL} 2018},
        title = {A {Staged} {Embedding} of {Attribute} {Grammars} in {Haskell}},
        isbn = {978-1-4503-7143-8},
+       url = {https://doi.org/10.1145/3310232.3310235},
        doi = {10.1145/3310232.3310235},
        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.},
        booktitle = {Proceedings of the 30th {Symposium} on {Implementation} and {Application} of {Functional} {Languages}},
@@ -982,6 +1012,7 @@ Publisher: Association for Computing Machinery},
        address = {Berlin, Heidelberg},
        title = {Typed {Tagless} {Final} {Interpreters}},
        isbn = {978-3-642-32202-0},
+       url = {https://doi.org/10.1007/978-3-642-32202-0_3},
        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.},
        booktitle = {Generic and {Indexed} {Programming}: {International} {Spring} {School}, {SSGIP} 2010, {Oxford}, {UK}, {March} 22-26, 2010, {Revised} {Lectures}},
        publisher = {Springer Berlin Heidelberg},
@@ -1041,6 +1072,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell '12},
        title = {Safe {Haskell}},
        isbn = {978-1-4503-1574-6},
+       url = {https://doi.org/10.1145/2364506.2364524},
        doi = {10.1145/2364506.2364524},
        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.},
        booktitle = {Proceedings of the 2012 {Haskell} {Symposium}},
@@ -1070,6 +1102,7 @@ Publisher: Association for Computing Machinery},
        series = {{ICFP} '14},
        title = {Folding {Domain}-{Specific} {Languages}: {Deep} and {Shallow} {Embeddings} ({Functional} {Pearl})},
        isbn = {978-1-4503-2873-9},
+       url = {https://doi.org/10.1145/2628136.2628138},
        doi = {10.1145/2628136.2628138},
        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.},
        booktitle = {Proceedings of the 19th {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming}},
@@ -1087,6 +1120,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell '05},
        title = {{TypeCase}: {A} {Design} {Pattern} for {Type}-{Indexed} {Functions}},
        isbn = {1-59593-071-X},
+       url = {https://doi.org/10.1145/1088348.1088358},
        doi = {10.1145/1088348.1088358},
        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.},
        booktitle = {Proceedings of the 2005 {ACM} {SIGPLAN} {Workshop} on {Haskell}},
@@ -1104,6 +1138,7 @@ Publisher: Association for Computing Machinery},
        series = {{POPL} '96},
        title = {Putting {Type} {Annotations} to {Work}},
        isbn = {0-89791-769-3},
+       url = {https://doi.org/10.1145/237721.237729},
        doi = {10.1145/237721.237729},
        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.},
        booktitle = {Proceedings of the 23rd {ACM} {SIGPLAN}-{SIGACT} {Symposium} on {Principles} of {Programming} {Languages}},
@@ -1120,6 +1155,7 @@ Publisher: Association for Computing Machinery},
        series = {{PEPM} '16},
        title = {Everything {Old} is {New} {Again}: {Quoted} {Domain}-{Specific} {Languages}},
        isbn = {978-1-4503-4097-7},
+       url = {https://doi.org/10.1145/2847538.2847541},
        doi = {10.1145/2847538.2847541},
        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.},
        booktitle = {Proceedings of the 2016 {ACM} {SIGPLAN} {Workshop} on {Partial} {Evaluation} and {Program} {Manipulation}},
@@ -1150,6 +1186,7 @@ Publisher: Association for Computing Machinery},
        series = {{DSL} '99},
        title = {Domain {Specific} {Embedded} {Compilers}},
        isbn = {1-58113-255-7},
+       url = {https://doi.org/10.1145/331960.331977},
        doi = {10.1145/331960.331977},
        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.},
        booktitle = {Proceedings of the 2nd {Conference} on {Domain}-{Specific} {Languages}},
@@ -1161,6 +1198,18 @@ Publisher: Association for Computing Machinery},
        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},
 }
 
+@incollection{koopman_simulation_2018,
+       address = {Cham},
+       title = {Simulation of a {Task}-{Based} {Embedded} {Domain} {Specific} {Language} for the {Internet} of {Things}},
+       language = {en},
+       booktitle = {Central {European} {Functional} {Programming} {School}: 7th {Summer} {School}, {CEFP} 2018, {Košice}, {Slovakia}, {January} 22–26, 2018, {Revised} {Selected} {Papers}},
+       publisher = {Springer International Publishing},
+       author = {Koopman, Pieter and Lubbers, Mart and Plasmeijer, Rinus},
+       year = {2018},
+       note = {in-press},
+       pages = {51},
+}
+
 @techreport{plasmeijer_clean_2021,
        address = {Nijmegen},
        title = {Clean {Language} {Report} version 3.1},
@@ -1191,6 +1240,7 @@ Publisher: Association for Computing Machinery},
        address = {Hershey, PA, USA},
        title = {Extensible {Languages}: {Blurring} the {Distinction} between {DSL} and {GPL}},
        isbn = {978-1-4666-2092-6},
+       url = {https://services.igi-global.com/resolvedoi/resolve.aspx?doi=10.4018/978-1-4666-2092-6.ch001},
        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.},
        booktitle = {Formal and {Practical} {Aspects} of {Domain}-{Specific} {Languages}: {Recent} {Developments}},
        publisher = {IGI Global},
@@ -1230,7 +1280,6 @@ Publisher: Association for Computing Machinery},
        author = {{Peter T. Lewis}},
        month = sep,
        year = {1985},
-       annote = {By connecting devices such as traffic signal control boxes, underground gas station tanks and home refrigerators to supervisory control systems, modems, auto-dialers and cellular phones, we can transmit status of these devices to cell sites, then pipe that data through the Internet and address it to people near and far that need that information.  I predict that not only humans, but machines and other things will interactively communicate via the Internet.  The Internet of Things, or IoT, is the integration of people, processes and technology with connectable devices and sensors to enable remote monitoring, status, manipulation and evaluation of trends of such devices.  When all these technologies and voluminous amounts of Things are interfaced together -- namely, devices/machines, supervisory controllers, cellular and the Internet, there is nothing we cannot connect to and communicate with.  What I am calling the Internet of Things will be far reaching.},
 }
 
 @article{weiser_computer_1991,
@@ -1269,10 +1318,27 @@ Publisher: Association for Computing Machinery},
        pages = {36--43},
 }
 
+@inproceedings{steenvoorden_tophat_2019,
+       address = {New York, NY, USA},
+       series = {{PPDP} '19},
+       title = {{TopHat}: {A} {Formal} {Foundation} for {Task}-{Oriented} {Programming}},
+       isbn = {978-1-4503-7249-7},
+       url = {https://doi.org/10.1145/3354166.3354182},
+       doi = {10.1145/3354166.3354182},
+       abstract = {Software that models how people work is omnipresent in today's society. Current languages and frameworks often focus on usability by non-programmers, sacrificing flexibility and high level abstraction. Task-oriented programming (TOP) is a programming paradigm that aims to provide the desired level of abstraction while still being expressive enough to describe real world collaboration. It prescribes a declarative programming style to specify multi-user workflows. Workflows can be higher-order. They communicate through typed values on a local and global level. Such specifications can be turned into interactive applications for different platforms, supporting collaboration during execution. TOP has been around for more than a decade, in the forms of iTasks and mTasks, which are tailored for real-world usability. So far, it has not been given a formalisation which is suitable for formal reasoning.In this paper we give a description of the TOP paradigm and then decompose its rich features into elementary language elements, which makes them suitable for formal treatment. We use the simply typed lambda-calculus, extended with pairs and references, as a base language. On top of this language, we develop TopHat, a language for modular interactive workflows. We describe TopHat by means of a layered semantics. These layers consist of multiple big-step evaluations on expressions, and two labelled transition systems, handling user inputs.With TopHat we prepare a way to formally reason about TOP languages and programs. This approach allows for comparison with other work in the field. We have implemented the semantic rules of TopHat in Haskell, and the task layer on top of the iTasks framework. This shows that our approach is feasible, and lets us demonstrate the concepts by means of illustrative case studies. TOP has been applied in projects with the Dutch coast guard, tax office, and navy. Our work matters because formal program verification is important for mission-critical software, especially for systems with concurrency.},
+       booktitle = {Proceedings of the 21st {International} {Symposium} on {Principles} and {Practice} of {Declarative} {Programming}},
+       publisher = {Association for Computing Machinery},
+       author = {Steenvoorden, Tim and Naus, Nico and Klinik, Markus},
+       year = {2019},
+       note = {event-place: Porto, Portugal},
+       file = {Steenvoorden et al. - 2019 - TopHat A Formal Foundation for Task-Oriented Prog.pdf:/home/mrl/.local/share/zotero/storage/E9W4WKZC/Steenvoorden et al. - 2019 - TopHat A Formal Foundation for Task-Oriented Prog.pdf:application/pdf},
+}
+
 @incollection{koopman_type-safe_2019,
        address = {Cham},
        title = {Type-{Safe} {Functions} and {Tasks} in a {Shallow} {Embedded} {DSL} for {Microprocessors}},
        isbn = {978-3-030-28346-9},
+       url = {https://doi.org/10.1007/978-3-030-28346-9_8},
        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.},
        booktitle = {Central {European} {Functional} {Programming} {School}: 6th {Summer} {School}, {CEFP} 2015, {Budapest}, {Hungary}, {July} 6–10, 2015, {Revised} {Selected} {Papers}},
        publisher = {Springer International Publishing},
@@ -1300,6 +1366,7 @@ Publisher: Association for Computing Machinery},
        series = {{ICFP} '02},
        title = {Typing {Dynamic} {Typing}},
        isbn = {1-58113-487-8},
+       url = {https://doi.org/10.1145/581478.581494},
        doi = {10.1145/581478.581494},
        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.},
        booktitle = {Proceedings of the {Seventh} {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming}},
@@ -1316,6 +1383,7 @@ Publisher: Association for Computing Machinery},
        address = {Berlin, Heidelberg},
        title = {On {Adding} {Pattern} {Matching} to {Haskell}-{Based} {Deeply} {Embedded} {Domain} {Specific} {Languages}},
        isbn = {978-3-030-67437-3},
+       url = {https://doi.org/10.1007/978-3-030-67438-0_2},
        doi = {10.1007/978-3-030-67438-0_2},
        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.},
        booktitle = {Practical {Aspects} of {Declarative} {Languages}: 23rd {International} {Symposium}, {PADL} 2021, {Copenhagen}, {Denmark}, {January} 18-19, 2021, {Proceedings}},
@@ -1330,6 +1398,7 @@ Publisher: Association for Computing Machinery},
        address = {Berlin, Heidelberg},
        title = {Generic {Haskell}: {Practice} and {Theory}},
        isbn = {978-3-540-45191-4},
+       url = {https://doi.org/10.1007/978-3-540-45191-4_1},
        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.},
        booktitle = {Generic {Programming}: {Advanced} {Lectures}},
        publisher = {Springer Berlin Heidelberg},
@@ -1393,9 +1462,6 @@ Publisher: Association for Computing Machinery},
        month = nov,
        year = {1998},
        note = {e-mail message, accessed on 2021-02-24},
-       annote = {
-
-},
 }
 
 @misc{margaret_deuter_rhapsody_2015,
@@ -1417,7 +1483,6 @@ Publisher: Association for Computing Machinery},
        author = {{Wikipedia contributors}},
        year = {2022},
        note = {accessed on: 2022-09-06},
-       annote = {[Online; accessed 6-September-2022]},
 }
 
 @incollection{backus_introduction_1990,
@@ -1448,6 +1513,7 @@ Publisher: Association for Computing Machinery},
        series = {{POPL} '93},
        title = {Imperative {Functional} {Programming}},
        isbn = {0-89791-560-7},
+       url = {https://doi.org/10.1145/158511.158524},
        doi = {10.1145/158511.158524},
        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.},
        booktitle = {Proceedings of the 20th {ACM} {SIGPLAN}-{SIGACT} {Symposium} on {Principles} of {Programming} {Languages}},
@@ -1478,6 +1544,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell 2020},
        title = {Staged {Sums} of {Products}},
        isbn = {978-1-4503-8050-8},
+       url = {https://doi.org/10.1145/3406088.3409021},
        doi = {10.1145/3406088.3409021},
        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.},
        booktitle = {Proceedings of the 13th {ACM} {SIGPLAN} {International} {Symposium} on {Haskell}},
@@ -1493,6 +1560,7 @@ Publisher: Association for Computing Machinery},
 @article{xie_staging_2022,
        title = {Staging with {Class}: {A} {Specification} for {Typed} {Template} {Haskell}},
        volume = {6},
+       url = {https://doi.org/10.1145/3498723},
        doi = {10.1145/3498723},
        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.},
        number = {POPL},
@@ -1524,6 +1592,7 @@ Publisher: Association for Computing Machinery},
        series = {{WGP} '14},
        title = {True {Sums} of {Products}},
        isbn = {978-1-4503-3042-8},
+       url = {https://doi.org/10.1145/2633628.2633634},
        doi = {10.1145/2633628.2633634},
        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.},
        booktitle = {Proceedings of the 10th {ACM} {SIGPLAN} {Workshop} on {Generic} {Programming}},
@@ -1539,6 +1608,7 @@ Publisher: Association for Computing Machinery},
 @article{willis_staged_2020,
        title = {Staged {Selective} {Parser} {Combinators}},
        volume = {4},
+       url = {https://doi.org/10.1145/3409002},
        doi = {10.1145/3409002},
        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.},
        number = {ICFP},
@@ -1557,6 +1627,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell 2019},
        title = {Multi-{Stage} {Programs} in {Context}},
        isbn = {978-1-4503-6813-1},
+       url = {https://doi.org/10.1145/3331545.3342597},
        doi = {10.1145/3331545.3342597},
        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.},
        booktitle = {Proceedings of the 12th {ACM} {SIGPLAN} {International} {Symposium} on {Haskell}},
@@ -1572,6 +1643,7 @@ Publisher: Association for Computing Machinery},
 @article{pickering_specification_2021,
        title = {A {Specification} for {Typed} {Template} {Haskell}},
        volume = {abs/2112.03653},
+       url = {https://arxiv.org/abs/2112.03653},
        doi = {10.48550/arXiv.2112.03653},
        journal = {CoRR},
        author = {Pickering, Matthew and Löh, Andres and Wu, Nicolas},
@@ -1580,6 +1652,18 @@ Publisher: Association for Computing Machinery},
        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},
 }
 
+@book{steenvoorden_tophat_2022,
+       address = {Nijmegen},
+       title = {{TopHat}: {Task}-{Oriented} {Programming} with {Style}},
+       isbn = {978-94-6458-595-7},
+       shorttitle = {{TopHat}: {TOP} with {Style}},
+       language = {English},
+       publisher = {UB Nijmegen},
+       author = {Steenvoorden, Tim},
+       year = {2022},
+       file = {Steenvoorden - 2022 - TopHat Task-Oriented Programming with Style.pdf:/home/mrl/.local/share/zotero/storage/ZV8IT9J5/Steenvoorden - 2022 - TopHat Task-Oriented Programming with Style.pdf:application/pdf},
+}
+
 @inproceedings{folmer_high-level_2022,
        address = {Cham},
        title = {High-{Level} {Synthesis} of {Digital} {Circuits} from {Template} {Haskell} and {SDF}-{AP}},
@@ -1597,6 +1681,7 @@ Publisher: Association for Computing Machinery},
 @article{materzok_generating_2022,
        title = {Generating {Circuits} with {Generators}},
        volume = {6},
+       url = {https://doi.org/10.1145/3549821},
        doi = {10.1145/3549821},
        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.},
        number = {ICFP},
@@ -1614,6 +1699,7 @@ Publisher: Association for Computing Machinery},
        title = {Embedding {Non}-linear {Pattern} {Matching} with {Backtracking} for {Non}-free {Data} {Types} into {Haskell}},
        volume = {40},
        issn = {1882-7055},
+       url = {https://doi.org/10.1007/s00354-022-00177-z},
        doi = {10.1007/s00354-022-00177-z},
        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.},
        number = {2},
@@ -1630,6 +1716,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell 2022},
        title = {Liquid {Proof} {Macros}},
        isbn = {978-1-4503-9438-3},
+       url = {https://doi.org/10.1145/3546189.3549921},
        doi = {10.1145/3546189.3549921},
        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.},
        booktitle = {Proceedings of the 15th {ACM} {SIGPLAN} {International} {Haskell} {Symposium}},
@@ -1655,7 +1742,6 @@ Publisher: Association for Computing Machinery},
        doi = {10.3990/1.9789036538039},
        note = {ISBN: 978-90-365-3803-9},
        keywords = {Haskell, Digital Circuits, EC Grant Agreement nr.: FP7/248465, EC Grant Agreement nr.: FP7/610686, EWI-23939, FPGA, Functional Programming, Hardware, IR-93962, Lambda calculus, METIS-308711, Rewrite Systems},
-       annote = {eemcs-eprint-23939 },
        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},
 }
 
@@ -1664,6 +1750,7 @@ Publisher: Association for Computing Machinery},
        series = {Haskell 2022},
        title = {Embedded {Pattern} {Matching}},
        isbn = {978-1-4503-9438-3},
+       url = {https://doi.org/10.1145/3546189.3549917},
        doi = {10.1145/3546189.3549917},
        abstract = {Haskell is a popular choice for hosting deeply embedded languages. A recurring challenge for these embeddings is how to seamlessly integrate user defined algebraic data types. In particular, one important, convenient, and expressive feature for creating and inspecting data—pattern matching—is not directly available on embedded terms. We present a novel technique, embedded pattern matching, which enables a natural and user friendly embedding of user defined algebraic data types into the embedded language, and allows programmers to pattern match on terms in the embedded language in much the same way they would in the host language.},
        booktitle = {Proceedings of the 15th {ACM} {SIGPLAN} {International} {Haskell} {Symposium}},
@@ -1726,14 +1813,6 @@ Publisher: Association for Computing Machinery},
        year = {2022},
 }
 
-@misc{lubbers_htask_2022,
-       title = {hTask},
-       url = {https://gitlab.com/mlubbers/acsds},
-       urldate = {2022-10-17},
-       author = {Lubbers, Mart},
-       year = {2022},
-}
-
 @article{sun_compositional_2022,
        title = {Compositional {Embeddings} of {Domain}-{Specific} {Languages}},
        volume = {6},