Adding interactive visual syntax to textual code
Leif Andersen, Michael Ballantyne, Matthias Felleisen · Proceedings of the ACM on Programming Languages · 2020
Many programming problems call for turning geometrical thoughts into code: tables, hierarchical structures, nests of objects, trees, forests, graphs, and so on. Linear text does not do justice to such thoughts. But, it has been the dominant programming medium for the past and will remain so for the foreseeable future. This paper proposes a novel mechanism for conveniently extending textual programming languages with problem-specific visual syntax. It argues the necessity of this language feature, demonstrates the feasibility with a robust prototype, and sketches a design plan for adapting the idea to other languages.
Cited by 28 works. doi:10.1145/3428290 Open-access PDF
Authors
References
- Smalltalk-80: The Language and its Implementation
- Transmission Control Protocol
- IPython: A System for Interactive Scientific Computing
- Scratch
- Introduction to Algorithms, third edition
- Symmetric binary B-Trees: Data structure and maintenance algorithms
- Boxer: a reconstructible computational medium
- DrScheme: a programming environment for Scheme
- The Spoofax language workbench
- Embedding Dynamic Dataflow in a Call-by-Value Language