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

被引:11
|
作者
Kurihara, Azusa [1 ]
Sasaki, Akira [2 ]
Wakita, Ken [3 ]
Hosobe, Hiroshi [2 ]
机构
[1] Hosei Univ, Grad Sch Comp & Informat Sci, Koganei, Tokyo 1848584, Japan
[2] Hosei Univ, Fac Comp & Informat Sci, Koganei, Tokyo 1848584, Japan
[3] Tokyo Inst Technol, Grad Sch Informat Sci & Engn, Meguro Ku, Tokyo 1528552, Japan
关键词
Visual Programming; Domain-Specific Language; Programming Environment;
D O I
10.1016/j.procs.2015.08.452
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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. (C) 2015 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
引用
收藏
页码:287 / 296
页数:10
相关论文
共 50 条
  • [1] A CONFIGURABLE VISUAL PROGRAMMING ENVIRONMENT - A TOOL FOR DOMAIN-SPECIFIC PROGRAMMING
    KARSAI, G
    [J]. COMPUTER, 1995, 28 (03) : 36 - 44
  • [2] Functional Programming for Domain-Specific Languages
    Gibbons, Jeremy
    [J]. CENTRAL EUROPEAN FUNCTIONAL PROGRAMMING SCHOOL, CEFP 2013, 2015, 8606 : 1 - 28
  • [3] Smells in Block-Based Programming Languages
    Hermans, Felienne
    Stolee, Kathryn T.
    Hoepelman, David
    [J]. 2016 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC), 2016, : 68 - 72
  • [4] Obstacles and opportunities with using visual and domain-specific languages in scientific programming
    Jones, Michael
    Scaffidi, Christopher
    [J]. 2011 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC 2011), 2011, : 9 - 16
  • [5] Linear Programming Meets Block-based Languages
    da Giao, Hugo
    Cunha, Jacome
    Pereira, Rui
    [J]. 2021 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC 2021), 2021,
  • [6] The domain-specific language Monaco and its visual interactive, programming environment
    Praehofer, Herbert
    Hurnaus, Dorninik
    Wirth, Christian
    Moessenboeck, Hanspeter
    [J]. VL/HCC 2007: IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING, PROCEEDINGS, 2007, : 104 - +
  • [7] Domain-specific modeling with visual languages - Preface
    Gray, J
    Rossi, M
    Tolvanen, JP
    [J]. JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2004, 15 (3-4): : 207 - 209
  • [8] Special issue on visual languages for end-user and domain-specific programming - Introduction
    Cox, P
    Smedley, T
    [J]. JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2001, 12 (05): : 473 - 474
  • [9] Effect of the use of block-based languages in programming learning
    Lopez Puente, Eva
    [J]. 2022 INTERNATIONAL SYMPOSIUM ON COMPUTERS IN EDUCATION (SIIE), 2022,
  • [10] KareNao: A Tangible Block-Based Programming Environment
    Fu, Joshua
    Lim, Ryan
    Giacaman, Nasser
    Sutherland, Craig J.
    [J]. 2021 18TH INTERNATIONAL CONFERENCE ON UBIQUITOUS ROBOTS (UR), 2021, : 314 - 319