English

Relational Reactive Programming: miniKanren for the Web

Programming Languages 2024-09-02 v1

Abstract

Over the past decade, reactive frameworks and languages have become the dominant programming paradigm in front-end web development. In this paradigm, user actions change application state, and those changes propagate reactively to derived state and to the display, reducing the likelihood that various parts of the data model and user-facing view will become out of sync due to programmer error. In this paper, we explore the application of relational programming to the specification and synchronized evolution of model and view across time in response to user input. To that end, we present a reactive Javascript implementation of miniKanren and an integrated reactive programming model oriented towards the challenges of front-end web development.

Keywords

Cite

@article{arxiv.2408.17044,
  title  = {Relational Reactive Programming: miniKanren for the Web},
  author = {Evan Donahue},
  journal= {arXiv preprint arXiv:2408.17044},
  year   = {2024}
}

Comments

20 pages, 4 figures

R2 v1 2026-06-28T18:28:27.582Z