首页> 外文会议>IEEE Symposium on Visual Languages and Human-Centric Computing >Customizing the visualization and interaction for embedded domain-specific languages in a structured editor
【24h】

Customizing the visualization and interaction for embedded domain-specific languages in a structured editor

机译:在结构化编辑器中自定义嵌入式领域特定语言的可视化和交互

获取原文

摘要

Large software projects are often based on libraries that provide abstractions for a particular domain such as writing database queries, staging, or constraint solving. The API provided by such a library can be considered a domain-specific language within the implementation language of the library, a so-called internal or embedded domain-specific language (eDSL). Embedding a DSL leverages the tool infrastructure of the host language, but also restricts the syntax and IDE support to that of the host language. This restriction prevents programmers from using convenient specialized notations and, thus, has a negative effect on their productivity. To address this problem, we outline concepts for a structured code editor that enable developers of eDSLs to customize how eDSL code is rendered and what interactions are available. We demonstrate the benefits of our approach by customizing a structured editor for the .NET Code Contracts API. Our prototype shows in particular that we can customize many aspects of visualization and interaction with little effort.
机译:大型软件项目通常基于为特定领域提供抽象的库,例如编写数据库查询,登台或约束解决方案。这样的库提供的API可以被认为是该库的实现语言中的一种特定于域的语言,即所谓的内部或嵌入式特定于域的语言(eDSL)。嵌入DSL可以利用宿主语言的工具基础结构,但也可以将语法和IDE支持限制为宿主语言的语法和IDE支持。此限制使程序员无法使用方便的专用符号,因此对其生产率产生负面影响。为了解决此问题,我们概述了结构化代码编辑器的概念,该结构化代码编辑器使eDSL的开发人员可以自定义eDSL代码的呈现方式和可用的交互方式。通过为.NET Code Contracts API定制结构化编辑器,我们演示了我们方法的好处。我们的原型特别表明,我们可以毫不费力地自定义可视化和交互的许多方面。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号