首页> 外文期刊>Procedia Computer Science >A Programming Environment for Visual Block-Based Domain-Specific Languages
【24h】

A Programming Environment for Visual Block-Based Domain-Specific Languages

机译:基于可视块的领域特定语言的编程环境

获取原文
           

摘要

Visual block-based programming is useful for various users such as novice programmers because it provides easy operations and improves the readability of programs. Also, in programming education, it is known to be effective to initially present basic language features and then gradually make more advanced features available. However, the cost of implementing such visual block-based languages remains a challenge. In this paper, we present a programming environment for providing visual block-based domain- specific languages (visual DSLs) that are translatable into various programming languages. In our environment, programs are built by combining visual blocks expressed in a natural language. Blocks represent program elements such as operations and variables. Tips represent snippets, and macro blocks represent procedures. Using Tips and macros make code more abstract, and reduce the number of blocks in code. Visual DSLs can be a front-end for various languages. It can be easily restricted and extended by adding and deleting blocks. We applied our programming environment to Processing, an educational programming language for media art. We show that the environment is useful for novice programmers who learn basic concepts of programming and the features of Processing.
机译:基于可视块的编程对各种用户(如新手程序员)很有用,因为它提供了简单的操作并提高了程序的可读性。同样,在程序设计教育中,最初介绍基本的语言功能,然后逐渐使更多高级功能可用是有效的。但是,实现这种基于可视块的可视化语言的成本仍然是一个挑战。在本文中,我们提出了一种编程环境,用于提供基于视觉的基于块的领域特定语言(visual DSL),这些语言可翻译为各种编程语言。在我们的环境中,通过组合以自然语言表达的可视块来构建程序。块代表程序元素,例如操作和变量。提示代表摘要,宏块代表过程。使用技巧和宏可使代码更抽象,并减少代码中的块数。视觉DSL可以成为各种语言的前端。通过添加和删除块可以轻松地对其进行限制和扩展。我们将编程环境应用于“处理”,这是一种用于媒体艺术的教育性编程语言。我们表明,该环境对于学习编程基本概念和处理功能的新手程序员很有用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号