{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T11:08:01Z","timestamp":1790075281496,"version":"4.0.1"},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T00:00:00Z","timestamp":1780876800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["2208731"],"award-info":[{"award-number":["2208731"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["2227863"],"award-info":[{"award-number":["2227863"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100006418","name":"Brown University","doi-asserted-by":"publisher","award":["UTRA"],"award-info":[{"award-number":["UTRA"]}],"id":[{"id":"10.13039\/100006418","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,6,8]]},"abstract":"<jats:p>\n                    Diagrams enable programmers to reason, debug, and communicate. However, constructing diagrams for programming language data is unnecessarily hard. We present a declarative DSL,\n                    <jats:sc>Spytial<\/jats:sc>\n                    , that captures the essential\n                    <jats:italic toggle=\"yes\">spatial<\/jats:italic>\n                    features of data. We endow\n                    <jats:sc>Spytial<\/jats:sc>\n                    with a spatial semantics, mapping values to the 2D plane, and prove key properties.\n                    <jats:sc>Spytial<\/jats:sc>\n                    uses constraint-solving to make interactive renderings. We show how\n                    <jats:sc>Spytial<\/jats:sc>\n                    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\n                    <jats:sc>Spytial<\/jats:sc>\n                    can be used to\n                    <jats:italic toggle=\"yes\">construct<\/jats:italic>\n                    values interactively and visually while preserving spatial constraints.\n                  <\/jats:p>","DOI":"10.1145\/3808275","type":"journal-article","created":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T18:04:09Z","timestamp":1780941849000},"page":"705-729","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Diagramming Program Values by Spatial Refinement"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7936-8147","authenticated-orcid":false,"given":"Siddhartha","family":"Prasad","sequence":"first","affiliation":[{"name":"Brown University, Providence, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-7938-1319","authenticated-orcid":false,"given":"Michael","family":"Tu","sequence":"additional","affiliation":[{"name":"Brown University, Providence, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-4939-5393","authenticated-orcid":false,"given":"Karan","family":"Kashyap","sequence":"additional","affiliation":[{"name":"Brown University, Providence, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9377-9943","authenticated-orcid":false,"given":"Tim","family":"Nelson","sequence":"additional","affiliation":[{"name":"Brown University, Providence, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5184-1975","authenticated-orcid":false,"given":"Shriram","family":"Krishnamurthi","sequence":"additional","affiliation":[{"name":"Brown University, Providence, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,8]]},"reference":[{"key":"e_1_3_1_2_2","first-page":"1259","article-title":"An Algorithm for the Organization of Information","volume":"3","author":"Adel\u2019son-Vel\u2019skii G. M.","year":"1962","unstructured":"G. M. Adel\u2019son-Vel\u2019skii and E. M. Landis. 1962. An Algorithm for the Organization of Information. Soviet Mathematics Doklady 3 (1962), 1259\u20131263.","journal-title":"Soviet Mathematics Doklady"},{"key":"e_1_3_1_3_2","unstructured":"Apple Inc. 2016. Auto Layout Guide. https:\/\/developer.apple.com\/library\/archive\/documentation\/UserExperience\/Conceptual\/AutolayoutPG\/index.html."},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.1145\/504704.504705"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0167-5060(08)70342-X"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.1109\/VIS54862.2022.00009"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/3180155.3180175"},{"key":"e_1_3_1_8_2","unstructured":"Dirk Beyer. 2005. Binary decision diagram (simple example). Wikimedia Commons licensed under GFDL and CC BY-SA 2.5. https:\/\/commons.wikimedia.org\/wiki\/File:BDD_simple.svg"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1109\/TVCG.2011.185"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.5555\/37606"},{"key":"e_1_3_1_11_2","unstructured":"Cburnett. 2007. Circular Buffer. Wikimedia Commons. CC BY-SA 3.0. https:\/\/commons.wikimedia.org\/w\/index.php?curid=2302964 By the original author. License: CC BY-SA 3.0."},{"key":"e_1_3_1_12_2","volume-title":"Introduction to Algorithms","author":"Cormen Thomas H","year":"2009","unstructured":"Thomas H Cormen, Charles E Leiserson, Ronald L Rivest, and Clifford Stein. 2009. Introduction to Algorithms (3 ed.). The MIT Press, Cambridge, MA, USA.","edition":"3"},{"key":"e_1_3_1_13_2","unstructured":"Tim Dwyer. 2017. cola.js: Constraint-Based Layout in the Browser. https:\/\/ialab.it.monash.edu\/webcola\/ Accessed: 2024-12-02."},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-00219-9_22"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-18638-7_6"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1037\/h0048826"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.3758\/BF03204653"},{"key":"e_1_3_1_18_2","unstructured":"Ijzeren Hein. 2021. AutoLayout.js: Apple\u2019s Auto Layout and Visual Format Language for JavaScript. https:\/\/github.com\/IjzerenHein\/autolayout.js."},{"key":"e_1_3_1_19_2","volume-title":"Software abstractions: logic, language, and analysis","author":"Jackson Daniel","year":"2006","unstructured":"Daniel Jackson. 2006. Software abstractions: logic, language, and analysis. MIT Press, Cambridge, Mass."},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1037\/h0072422"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1111\/j.1551-6708.1987.tb00863.x"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/3591246"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1037\/0096-3445.122.1.73"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3313831.3376253"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1137\/080737587"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.20368\/1971-8829\/1128"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.5555\/2821575"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF00268134"},{"key":"e_1_3_1_29_2","unstructured":"Joseph Orbegoso Pea and contributors. 2024. Kiwi: Fast TypeScript implementation of the Cassowary constraint solving algorithm. https:\/\/github.com\/lume\/kiwi. Version 0.4.2 accessed 2025-11-12."},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1109\/MCSE.2007.53"},{"key":"e_1_3_1_31_2","unstructured":"Chris Pettitt and contributors. 2014. Dagre: A JavaScript library for directed graph layouts. https:\/\/github.com\/dagrejs\/dagre. Accessed: 2024-11-21."},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3654777.3676465"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2025.26"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","unstructured":"Siddhartha Prasad Michael Tu Karan Kashyap Tim Nelson and Shriram Krishnamurthi. 2026. Artifact For: Diagramming Program Values by Spatial Refinement. doi:10.5281\/zenodo.19401958","DOI":"10.5281\/zenodo.19401958"},{"key":"e_1_3_1_35_2","unstructured":"Prolific. 2025. Prolific. https:\/\/www.prolific.com. London UK. Accessed April 2025."},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-63938-1_67"},{"key":"e_1_3_1_37_2","unstructured":"Radke7CB. 2022. Binary tree v2.svg. Wikimedia Commons CC BY-SA 4.0. https:\/\/commons.wikimedia.org\/wiki\/File:Binary_tree_v2.svg"},{"key":"e_1_3_1_38_2","unstructured":"Arnaud Roques. 2025. PlantUML. PlantUML Project. https:\/\/plantuml.com\/ Diagramming software."},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1145\/3428029.3428051"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.7551\/mitpress\/9222.001.0001"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","unstructured":"Andreas Stefik Andrew Haywood Shahzada Mansoor Brock Dunda and Daniel Garcia. 2009. SODBeans. In IEEE 17th International Conference on Program Comprehension. IEEE 293\u2013294. doi:10.1109\/ICPC.2009.5090064","DOI":"10.1109\/ICPC.2009.5090064"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","DOI":"10.1145\/3017680.3022377"},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.1037\/h0054651"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1142\/4902"},{"key":"e_1_3_1_45_2","volume-title":"The Official Guide to Mermaid.js","author":"Sveidqvist Knut","year":"2021","unstructured":"Knut Sveidqvist and Ashish Jain. 2021. The Official Guide to Mermaid.js. Packt Publishing Ltd, Birmingham, England."},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-36763-2_46"},{"key":"e_1_3_1_47_2","unstructured":"David Tolnay. 2025. Serde. https:\/\/serde.rs\/ Serialization framework for Rust."},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","DOI":"10.7551\/mitpress\/6392.003.0006"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1093\/acprof:oso\/9780195381634.003.0004"},{"key":"e_1_3_1_50_2","first-page":"161","article-title":"Experimentelle Studien \u00fcber das Sehen von Bewegung","volume":"61","author":"Wertheimer Max","year":"1912","unstructured":"Max Wertheimer. 1912. Experimentelle Studien \u00fcber das Sehen von Bewegung. Zeitschrift f\u00fcr Psychologie 61 (1912), 161\u2013265.","journal-title":"Zeitschrift f\u00fcr Psychologie"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.3758\/BF03210086"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/3386569.3392375"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1109\/TVCG.2020.3030459"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808275","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808275","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T10:47:31Z","timestamp":1790074051000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808275"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,8]]},"references-count":52,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2026,6,8]]}},"alternative-id":["10.1145\/3808275"],"URL":"https:\/\/doi.org\/10.1145\/3808275","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,8]]},"assertion":[{"value":"2025-11-10","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-03","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-06-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}