Babylonian-style Programming: Design and Implementation of an Integration of Live Examples into General-purpose Source Code
David Rauch (Hasso Plattner Institute, Germany), Patrick Rein (Hasso, Plattner Institute, Germany), Stefan Ramson (Hasso Plattner Institute,, Germany), Jens Lincke (Hasso Plattner Institute, University of Potsdam,, Germany), Robert Hirschfeld (Hasso-Plattner-Institut (HPI)

TL;DR
This paper introduces a novel approach to integrating live examples into general-purpose source code, enabling developers to better understand complex program behaviors during development.
Contribution
It extends existing live programming techniques to larger, multi-module programs and presents a prototype demonstrating its practicality and effectiveness.
Findings
Provides more insights into run-time behavior of parameterized code
Shows feasibility of live examples in complex, multi-module programs
Identifies new challenges for live programming environments
Abstract
When working on a program, developers traditionally have to simulate the behavior of the abstract code in their heads until they can execute the application. Live programming aims to support the development and comprehension of programs by providing more immediate feedback on program behavior, but the divide between code and behavior often remains. The goal of example-based live programming is to remove this gap by allowing programmers to explore the actual behavior of their code during development. This is achieved by defining live examples for parts of the application. The idea of live examples has been already addressed in other tools and environments. However, most of those solutions are limited to specific domains and are suitable only for small programs. Thus, we aim to extend the application of example-based live programming to more complex programs potentially spanning multiple…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
