Structured Editing for All: Deriving Usable Structured Editors From Grammars

要旨

Structured editing can show benefits in learnability, tool building, and editing efficiency in programming. However, creating a usable structured editor is laborious and demanding, typically requiring tool builders to manually create or adjust editing interactions. We present Sandblocks, a system that allows users to automatically generate structured editors for every language with a formal grammar available. Our system's \emph{input reconciliation process} acts on arbitrary syntax trees to provides consistent interactions across our generated editors. Our editors' editing experience is designed to be familiar to users from textual editing but, compared to previous work, requires no manual annotation in the grammars. We demonstrate our editors' usability across languages through a user study (N=18). Compared to conventional text editors, even with minimal training, participants only took on average 21% (JS), 34% (Clojure), and 95% (RegExp) longer and reported that editing felt natural with a score of 6/7.

著者
Tom Beckmann
Hasso Plattner Institute, Potsdam, Germany
Patrick Rein
Hasso Plattner Institute, Potsdam, Germany
Stefan Ramson
Hasso Plattner Institute, Potsdam, Germany
Joana Bergsiek
Hasso Plattner Institute, Potsdam, Germany
Robert Hirschfeld
Hasso Plattner Institute, Potsdam, Germany
論文URL

https://doi.org/10.1145/3544548.3580785

動画

会議: CHI 2023

The ACM CHI Conference on Human Factors in Computing Systems (https://chi2023.acm.org/)

セッション: Programming

Room Y01+Y02
6 件の発表
2023-04-25 01:35:00
2023-04-25 03:00:00