Tiny Structure Editors for Low, Low Prices! (Generating GUIs from toString Functions)
Writing toString functions to display custom data values is straightforward, but building custom interfaces to manipulate such values is more difficult. Though tolerable in many scenarios, this difficulty is acute in emerging value-centric IDEs—such as those that provide programming by examples (PBE) or bidirectional transformation (BX) modalities, in which users manipulate output values to specify programs.
We present an approach that automatically generates custom GUIs from ordinary toString functions. By tracing the execution of the toString function on an input value, our technique overlays a tiny structure editor upon the output string: UI widgets for selecting, adding, removing, and modifying elements of the original value are displayed atop appropriate substrings.
We implement our technique—in a tool called TSE—for a simple functional language with custom algebraic data types (ADTs), and evaluate the tiny structure editors produced by TSE on a selection of existing and custom toString functions.
|Presentation Video (5 mins) (TSEFLLP_5mins.mp4)||12.53MiB|
Fri 14 Aug Times are displayed in time zone: Pacific Time (US & Canada) change
|14:45 - 15:00|
Ushini AttanayakeAustralian National University, Ben SwiftAustralian National University, Henry GardnerAustralian National University, Andrew SorensenAustralian National UniversityAuthorizer link
|15:00 - 15:15|
Scott Barnett, Iman AvazpourSchool of Information Technology, Deakin University, Rajesh VasaDeakin University, John GrundyMonash UniversityDOI
|15:15 - 15:22|
Karim CisseUniversity of Auckland, Aprajit GandhiUniversity of Auckland, Danielle LottridgeUniversity of Auckland, Robert AmorUniversity of AucklandAuthorizer link
|15:23 - 15:30|
Research PapersAuthorizer link Pre-print File Attached
|15:31 - 15:38|
Correspondence-based analogies for choosing problem representations in mathematics and computing educationShort paper
Aaron StockdillUniversity of Cambridge, Daniel RaggiUniversity of Cambridge, Mateja JamnikUniversity of Cambridge, Grecia Garcia GarciaUniversity of Sussex, Holly SutherlandUniversity of Sussex, Peter ChengUniversity of Sussex, Advait SarkarMicrosoft Research and University of CambridgeAuthorizer link