Beyond editing: extended interaction with textual code fragments
نویسندگان
چکیده
We describe research extending the interactive a↵ordances of textual code fragments in creative coding environments. In particular we examine the potential of source code both to display the state of running processes and also to alter state using means other than traditional text editing. In contrast to previous research that has focused on the inclusion of additional interactive widgets inside or alongside text editors, our research adds a parsing stage to the runtime evaluation of code fragments and imparts additional interactive capabilities on the source code itself. After implementing various techniques in the creative coding environment Gibber, we evaluate our research through a survey on the various methods of visual feedback provided by our research. In addition to results quantifying preferences for certain techniques over others, we found near unanimous support among survey respondents for including similar techniques in other live coding environments.
منابع مشابه
Source Code Interaction on Touchscreens
Direct interaction with touchscreens has become a primary way of using a device. This work seeks to devise interaction methods for editing textual source code on touch-enabled devices. With the advent of the “Post-PC Era”, touch-centric interaction has received considerable attention in both research and development. However, various limitations have impeded widespread adoption of programming e...
متن کاملImproving App Inventor Usability via Conversion between Blocks and Text
We have developed TAIL, a textual programming language isomorphic to the blocks language of MIT App Inventor 2 (AI2), and have extended AI2 with code blocks, a novel mechanism that enables bidirectional isomorphic conversions between blocks and text program fragments. TAIL improves AI2’s usability by facilitating the reading, writing, and sharing of programs, and may also ease the transition fr...
متن کاملInteractive Transformation of Java Programs
Implementing large and sweeping changes to software source code can be tedious and error-prone. A conceptually simple change can require a significant code editing effort. Any source code modification can be viewed as a transformation of one program into another. Integrating scriptable sourceto-source program transformations into development environments can assist developers with many repetiti...
متن کاملCode Similarity via Natural Language Descriptions
Code similarity is a central challenge in many programming related applications, such as code search, automatic translation, and plagiarism detection. In this work, we reduce the problem of semantic relatedness between code fragments into a problem of semantic relatedness of textual descriptions. Our main idea is that we can use the relationship between code and its textual descriptions as esta...
متن کاملUBILAB Technical Report 94.9.1 Computer Supported Cooperative Software Engineering with Beyond-Sniff
ion level. It visualizes differences with colors and pictograms on project, symbolic and textual levels and there are several abstraction levels on which both symbolic and textual differences can be browsed. Figure 4 shows the TurboMixer in comparing three working projects of consecutive revisions, ordered by age from left to right. The structure of every working project is visualized as a tree...
متن کامل