Lune

CHI2023顶会

Structured Editing for All: Deriving Usable Structured Editors from Grammars

Tom Beckmann, Patrick Rein, Stefan Ramson, Joana Bergsiek, Robert Hirschfeld

摘要

Structured editing can show benefts in learnability, tool building, and editing efciency 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 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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Ragged Blocks: Rendering Structured Text with Style 引用了 Code Style Sheets: CSS for Code
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. Code Style Sheets: CSS for CodeSam Cohen, Ravi ChughOOPSLA 2025 · 5 次引用
  2. Denicek: Computational Substrate for Document-Oriented End-User ProgrammingTomas Petricek, Jonathan EdwardsUIST 2025 · 2 次引用
  3. Ragged Blocks: Rendering Structured Text with StyleSam Cohen, Ravi ChughUIST 2025 · 1 次引用

相关 Paper

  1. To Diff or Not to Diff? Structure-Aware and Adaptive Output Formats for Efficient LLM-based Code EditingWei Cheng, Yongchang Cao, Chen Shen, Binhua Li 等ACL Findings 2026
  2. On the Applicability of Language Models to Block-Based ProgramsElisabeth Griebl, Benedikt Fein, Florian Obermüller, Gordon Fraser 等ICSE 2023 · 5 次引用
  3. Direct Manipulation and Natural Language Programming, Together at Last?Parker Ziegler, David Minh-Duy Cao, Justin Lubin, Sarah E. ChasinsOOPSLA 2026
  4. Interactive Text GenerationFelix Faltings, Michel Galley, Kianté Brantley, Baolin Peng 等EMNLP 2023 · 7 次引用
  5. Learning Structural Edits via Incremental Tree TransformationsZiyu Yao, Frank F. Xu, Pengcheng Yin, Huan Sun 等ICLR 2021 · 32 次引用
黄昏的海面,两侧是细线勾勒的悬崖