Back to search

University of Chicago

Tangible Values With Text: Explorations of Bimodal Programming

Abstract

dc:description.abstract

Direct manipulation is everywhere. While the intuitive "point-click-operate" workflow of direct manipulation is the standard mode of interaction for most computer applications, for over half a century one important application has remained a text-based activity: programming. Can the intuitive workflow of direct manipulation be applied to programming—could programming become as simple as manipulating the program's output, showing the computer what you want it to do? Alas, 45 years of research on this "programming by demonstration" (PBD) vision has yielded only niche successes. To confront this impasse, this dissertation reverses a key assumption of PBD systems. Traditional PBD systems eschew textual code, assuming that textual code is difficult for users. But, whatever its faults, textual code is a proven paradigm for understanding and editing programs. Therefore, this work instead embraces textual code: we start with text-based programming in a generic programming language and, rather than replace text, augment it with PBD-style direct manipulation on visualized program outputs. Output manipulations induce changes to the textual code. Such a system is bimodal: at any time, users may program via text edits on code or via mouse manipulations on outputs. To explore the expressiveness of this bimodal approach, this work presents two programming systems. The first system, called Sketch-n-Sketch, mimics a traditional graphics editor, enabling users to use standard drawing interactions to create programs that output vector graphics. The second, called Maniposynth, brings output-based interaction closer to ordinary programming, offering a graphical interface for constructing OCaml programs that operate on functional data structures. We show the expressive extent of direct manipulation in both systems through examples. Overall, this work expands and illuminates the capabilities of bimodal programming.

Degree

thesis:*
Grantor dc:publisher
University of Chicago
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hempel, Brian
Advisor dc:contributor.supervisor
  • Chugh, Ravi

Subjects

dc:subject × 6

Rights

dc:rights
Statement dc:rights
  • Creative Commons Attribution 4.0 International
  • Distribution License
  • © 2022 Brian Hempel
Language dc:language
eng

Identifiers

dc:identifier.*
Datacite Relatedidentifier Type
DOI
URL
Dc Identifier Other
oai:knowledge.uchicago.edu:5j9qe-93623
oai:uchicago.tind.io:3685

Chain of custody

source
Harvested from
University of Chicago
Base URL
knowledge.uchicago.edu/oai2d
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Hempel, Brian. Tangible Values With Text: Explorations of Bimodal Programming. University of Chicago, 2022. https://doi.org/10.6082/uchicago.3685