Bounded-Choice Statements for User Interaction in Imperative and Object-Oriented Programming
Keehang Kwon, Jeongyoon Seo, Daeseong Kang

TL;DR
This paper introduces bounded-choice statements for user interaction in imperative languages like Java, enabling more controlled and guided user inputs compared to traditional unbounded input constructs.
Contribution
It proposes new bounded-choice statements, focusing on a keyboard-specific version called kchoose, to improve user interaction control in imperative programming languages.
Findings
Designed kchoose for Java to handle bounded keyboard inputs.
Demonstrated how bounded-choice statements improve user interaction control.
Extended the concept to other input devices beyond keyboard.
Abstract
Adding versatile interactions to imperative programming -- C, Java and Android -- is an essential task. Unfortunately, existing languages provide only limited constructs for user interaction. These constructs are usually in the form of quantification. For example, existing languages can take the keyboard input from the user only via the construct. Note that the value of is unbounded in the sense that can have any value. This construct is thus not useful for applications with bounded inputs. To support bounded choices, we propose new bounded-choice statements for user interation. Each input device (the keyboard, the mouse, the touch, ) naturally requires a new bounded-choice statement. To make things simple, however, we focus on a bounded-choice statement for keyboard -- kchoose -- to allow for more controlled and more guided participation from…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Advanced Software Engineering Methodologies · Security and Verification in Computing
