{"id":{"repo_id":"chicago","oai_identifier":"oai:knowledge.uchicago.edu:5j9qe-93623"},"canonical_url":"https://search.ndltd.org/etd/chicago/oai:knowledge.uchicago.edu:5j9qe-93623","repository":{"repo_id":"chicago","name":"University of Chicago","base_url":"https://knowledge.uchicago.edu/oai2d"},"display":{"title":"Tangible Values With Text: Explorations of Bimodal Programming","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.","abstract_html":"Direct manipulation is everywhere. While the intuitive &quot;point-click-operate&quot; 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&#x27;s output, showing the computer what you want it to do? Alas, 45 years of research on this &quot;programming by demonstration&quot; (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.","abstract_has_math":false,"creators":["Hempel, Brian"],"institution":"University of Chicago","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Chugh, Ravi"],"committee_chairs":[],"committee_members":[],"year":2022,"date_issued":"2022-03","date_published":"2022-03","updated_at":"2026-11-26T15:14:47Z","subjects":["Computer science","bimodal programming","direct manipulation","IDEs","programming interfaces","SVG"],"languages":["eng"],"rights":["Creative Commons Attribution 4.0 International","Distribution License","© 2022 Brian Hempel"],"rights_urls":["https://creativecommons.org/licenses/by/4.0/","http://rightsstatements.org/vocab/InC/1.0/"],"identifier_entries":[{"key":"datacite:relatedidentifier.type","label":"Datacite Relatedidentifier Type","values":["DOI","URL"],"render_values":[{"text":"DOI","href":null,"code":true},{"text":"URL","href":null,"code":true}]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["oai:knowledge.uchicago.edu:5j9qe-93623","oai:uchicago.tind.io:3685"],"render_values":[{"text":"oai:knowledge.uchicago.edu:5j9qe-93623","href":null,"code":true},{"text":"oai:uchicago.tind.io:3685","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.6082/uchicago.3685","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.6082/uchicago.3685","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achicago%3Aoai%3Aknowledge.uchicago.edu%3A5j9qe-93623","prefix":"oai_dc"},"source_record":{"url":"https://knowledge.uchicago.edu/oai2d?verb=GetRecord&metadataPrefix=datacite&identifier=oai%3Aknowledge.uchicago.edu%3A5j9qe-93623","prefix":"datacite"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["Reppy, John","Lu, Shan","Ur, Blase"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Chugh, Ravi"]},{"key":"dc:creator","label":"Author","values":["Hempel, Brian"]},{"key":"person:familyname","label":"Person Familyname","values":["Hempel","Chugh","Reppy","Lu","Ur"]},{"key":"person:givenname","label":"Person Givenname","values":["Brian","Ravi","John","Shan","Blase"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.issued","label":"Date","values":["2022-03"]},{"key":"dc:date.published","label":"Dc Date Published","values":["2022"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-05-22"]},{"key":"dc:publisher","label":"Institution","values":["University of Chicago"]},{"key":"dc:relation.ispartof","label":"Dc Relation Ispartof","values":["https://knowledge.uchicago.edu/communities/physical-sciences-division/","https://knowledge.uchicago.edu/communities/uchicago-dissertations/"]},{"key":"dc:relation.isversionof","label":"Dc Relation Isversionof","values":["10.6082/mz8tt-gzg41"]},{"key":"dc:type.datacite","label":"Dc Type Datacite","values":["Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer science","bimodal programming","direct manipulation","IDEs","programming interfaces","SVG"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Creative Commons Attribution 4.0 International","Distribution License","© 2022 Brian Hempel"]},{"key":"dc:rights.license","label":"Dc Rights License","values":["cc-by-4.0"]},{"key":"dc:rights.uri","label":"Rights URI","values":["https://creativecommons.org/licenses/by/4.0/","http://rightsstatements.org/vocab/InC/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.6082/uchicago.3685"]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["oai:knowledge.uchicago.edu:5j9qe-93623","oai:uchicago.tind.io:3685"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"datacite:nametype","label":"Datacite Nametype","values":["Personal"]},{"key":"datacite:relatedidentifier.type","label":"Datacite Relatedidentifier Type","values":["DOI","URL"]},{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["210 pages"]},{"key":"dc:title","label":"Title","values":["Tangible Values With Text: Explorations of Bimodal Programming"]},{"key":"mods:affiliation","label":"Mods Affiliation","values":["University of Chicago"]}]}],"canonical_facts":{"datacite:nametype":["Personal"],"datacite:relatedidentifier.type":["DOI","URL"],"dc:contributor.other":["Reppy, John","Lu, Shan","Ur, Blase"],"dc:contributor.supervisor":["Chugh, Ravi"],"dc:creator":["Hempel, Brian"],"dc:date.issued":["2022-03"],"dc:date.published":["2022"],"dc:date.updated":["2026-05-22"],"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."],"dc:format.extent":["210 pages"],"dc:identifier.doi":["10.6082/uchicago.3685"],"dc:identifier.other":["oai:knowledge.uchicago.edu:5j9qe-93623","oai:uchicago.tind.io:3685"],"dc:language":["eng"],"dc:publisher":["University of Chicago"],"dc:relation.ispartof":["https://knowledge.uchicago.edu/communities/physical-sciences-division/","https://knowledge.uchicago.edu/communities/uchicago-dissertations/"],"dc:relation.isversionof":["10.6082/mz8tt-gzg41"],"dc:rights":["Creative Commons Attribution 4.0 International","Distribution License","© 2022 Brian Hempel"],"dc:rights.license":["cc-by-4.0"],"dc:rights.uri":["https://creativecommons.org/licenses/by/4.0/","http://rightsstatements.org/vocab/InC/1.0/"],"dc:subject":["Computer science","bimodal programming","direct manipulation","IDEs","programming interfaces","SVG"],"dc:title":["Tangible Values With Text: Explorations of Bimodal Programming"],"dc:type.datacite":["Dissertation"],"mods:affiliation":["University of Chicago"],"person:familyname":["Hempel","Chugh","Reppy","Lu","Ur"],"person:givenname":["Brian","Ravi","John","Shan","Blase"]},"updated_at":"2026-11-26T15:14:47Z"}