2019 · 12 citations · 7 references
ComputingComputer ScienceProgramming LanguagesSoftware EngineeringSystems ProgrammingBehavioral AnalysisControl-flow AnalysisData-flow AnalysisIntermediate RepresentationCode InstrumentationDynamic Program AnalysisExecution TracingRuntime InstrumentationRuntime Tracing
Based on context-oriented programming (COP), we implemented source code instrumentation for example-based live programming in a modular way. These tools provide programmers with feedback on the dynamic program behavior by showing traced values of example invocations of a program. For that, we have to trace intermediate, expression-level runtime states during the execution of an example. As the instrumentation is only intended to improve tool support, the default behavior of the system must not be altered. In this paper, we demonstrate how context-oriented programming can be used to keep the execution of examples separate from the default behavior even in the presence of expression-level behavior variations. We illustrate our approach by implementing Babylonian Programming using ContextS2 in Squeak/Smalltalk. Based on the implementation, we compare our COP-based Smalltalk implementation to the module-rewriting-based implementation for JavaScript.
7
Robert Hirschfeld, Pascal Costanza, Oscar Nierstrasz · The Journal of Object Technology · 2008 · 457 citations · Full text
Dan Ingalls, Ted Kaehler, John Maloney et al. · 1997 · 457 citations · Full text
Martin von Löwis, Marcus Denker, Oscar Nierstrasz · 2007 · 85 citations · Full text
Sean McDirmid · 2013 · 80 citations
Exploratory and Live, Programming and Coding
Patrick Rein, Stefan Ramson, Jens Lincke et al. · The Art Science and Engineering of Programming · 2018 · 48 citations · Full text