论文标题
将交互式视觉语法添加到文本代码
Adding Interactive Visual Syntax to Textual Code
论文作者
论文摘要
许多编程问题都要求将几何思想转变为代码:表,层次结构,对象,树木,森林,图形等。线性文本对这种想法并不公正。但是,它一直是过去的主要编程媒介,并且在可预见的未来将继续如此。 本文提出了一种新型机制,可方便地扩展具有特定于问题的视觉语法的文本编程语言。它说明了这种语言功能的必要性,以强大的原型演示了可行性,并绘制了一个设计计划,以使想法适应其他语言。
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.