制作混合语言:一份配方
Making Hybrid Languages: A Recipe
AI总结:
本文提出一种将现有文本编程语言及 IDE 扩展为文本与图形语法平等共存的混合语言的配方,并展示了据此实现的首个混合语言与 IDE。
摘要:
主流编程语言仅支持线性文本来表达思想。可视化语言在使用专用工具查看时,为整个程序提供图形化表示。混合语言在现有工具的支持下,允许开发者混合使用文本语法和图形语法来表达思想,并可针对应用领域进行定制。这种混合使两种语法处于平等地位,而且重要的是,这种增强后的语言不会打断程序员的典型工作流程。本文提出了一份配方,用于为现有文本编程语言及配套 IDE 配备一种创建和使用图形化交互语法的机制。本文还介绍了使用该配方创建的首个混合语言和 IDE。
英文摘要:
The dominant programming languages support only linear text to express ideas. Visual languages offer graphical representations for entire programs, when viewed with special tools. Hybrid languages, with support from existing tools, allow developers to express their ideas with a mix of textual and graphical syntax tailored to an application domain. This mix puts both kinds of syntax on equal footing and, importantly, the enriched language does not disrupt a programmer's typical workflow. This paper presents a recipe for equipping existing textual programming languages as well as accompanying IDEs with a mechanism for creating and using graphical interactive syntax. It also presents the first hybrid language and IDE created using the recipe.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。