Diagramming Program Values by Spatial Refinement
Siddhartha Prasad, Michael Tu, Karan Kashyap, Tim Nelson, Shriram Krishnamurthi
摘要
Diagrams enable programmers to reason, debug, and communicate. However, constructing diagrams for programming language data is unnecessarily hard. We present a declarative DSL, Spytial , that captures the essential spatial features of data. We endow Spytial with a spatial semantics, mapping values to the 2D plane, and prove key properties. Spytial uses constraint-solving to make interactive renderings. We show how Spytial can be embedded in three very different languages: Python, Rust, and Pyret. We present a novel counterfactual debugging aid for diagramming errors, combining textual and visual output. We evaluate the language and system for expressiveness, performance, and diagnostic quality. Finally, we also show how Spytial can be used to construct values interactively and visually while preserving spatial constraints.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper5
- Scalability of Network Visualisation from a Cognitive Load PerspectiveVahan Yoghourdjian, Yalong Yang, Tim Dwyer, Lawrence Lee 等IEEE VIS 2020 · 被引用 59 次
- Penrose: from mathematical notation to beautiful diagramsKatherine Ye, Wode Ni, Max Krieger, Dor Ma'ayan 等SIGGRAPH 2020 · 被引用 53 次
- How Domain Experts Create Conceptual Diagrams and Implications for Tool DesignDor Ma'ayan, Wode Ni, Katherine Ye, Chinmay Kulkarni 等CHI 2020 · 被引用 19 次
- Bluefish: Composing Diagrams with Declarative RelationsJosh Pollock, Catherine Mei, Grace Huang, Elliot Evans 等UIST 2024 · 被引用 12 次
- Conflict-Driven Synthesis for Layout EnginesJunrui Liu, Yanju Chen, Eric Atkinson, Yu Feng 等PLDI 2023 · 被引用 5 次
相关 Paper
- Rust yDL: A Program Logic for RustDaniel Drodt, Reiner HähnleFM 2026
- Mixing Linters with GUIs: A Color Palette Design ProbeAndrew M. McNutt, Maureen C. Stone, Jeffrey HeerIEEE VIS 2024 · 被引用 6 次
- An Interactive Debugger for Rust Trait ErrorsGavin Gray, Will Crichton, Shriram KrishnamurthiPLDI 2025 · 被引用 1 次
- Adding interactive visual syntax to textual codeLeif Andersen, Michael Ballantyne, Matthias FelleisenOOPSLA 2020 · 被引用 28 次
- The Shapes of Abstraction in Data Structure DiagramsDevamardeep Hayatpur, Brian Hempel, Richard Lin, Haijun XiaCHI 2025 · 被引用 7 次
