A preliminary study on various implementation approaches of domain-specific language

被引:80
|
作者
Kosar, Tomaz [1 ]
Martinez Lopez, Pablo E. [2 ]
Barrientos, Pablo A. [2 ]
Mernik, Marjan [1 ]
机构
[1] Univ Maribor, Fac Elect Engn & Comp Sci, SLO-2000 Maribor, Slovenia
[2] Natl Univ La Plata, Fac Informat, LIFIA, RA-1900 La Plata, Buenos Aires, Argentina
关键词
domain-specific languages; embedded approach; preprocessing; compiler/interpreter; compiler/interpreter generator; extensible compiler/interpreter; commercial-off-the-shelf;
D O I
10.1016/j.infsof.2007.04.002
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Various implementation approaches for developing a domain-specific language are available in literature. There are certain common beliefs about the advantages/disadvantages of these approaches. However, it is hard to be objective and speak in favor of a particular one, since these implementation approaches are normally compared over diverse application domains. The purpose of this paper is to provide empirical results from ten diverse implementation approaches for domain-specific languages, but conducted using the same representative language. Comparison shows that these discussed approaches differ in terms of the effort need to implement them, however, the effort needed by a. programmer to implement a domain-specific language should not be the only factor taken into consideration. Another important factor is the effort needed by an end-user to rapidly write correct programs using the produced domain-specific language. Therefore, this paper also provides empirical results on end-user productivity, which is measured as the lines of code needed to express a domain-specific program, similarity to the original notation, and how error-reporting and debugging are supported in a given implementation. (C) 2007 Elsevier B.V. All rights reserved.
引用
收藏
页码:390 / 405
页数:16
相关论文
共 50 条
  • [1] Analyzing various Topic Modeling Approaches for Domain-Specific Language Model
    Phull, Disha Kaur
    Kumar, G. Bharadwaja
    [J]. 2017 INTERNATIONAL CONFERENCE ON NETWORKS & ADVANCES IN COMPUTATIONAL TECHNOLOGIES (NETACT), 2017, : 69 - 73
  • [2] Design and implementation of domain-specific language easytime
    Fister, Iztok, Jr.
    Fister, Iztok
    Mernik, Marjan
    Brest, Janez
    [J]. COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2011, 37 (04) : 151 - 167
  • [3] A Domain-Specific Language Approach to Protocol Stack Implementation
    Wang, Yan
    Gaspes, Veronica
    [J]. PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, PROCEEDINGS, 2010, 5937 : 183 - 185
  • [4] The design and implementation of a domain-specific language for network performance testing
    Pakin, Scott
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2007, 18 (10) : 1436 - 1449
  • [5] A Domain-Specific Language for Microservices
    Donham, Jacob
    [J]. PROCEEDINGS OF THE 9TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON SCALA (SCALA '18), 2018, : 2 - 12
  • [6] Implementation of a BIM Domain-specific Language for the Building Environment Rule and Analysis
    Jin-Kook Lee
    Charles M. Eastman
    Yong Cheol Lee
    [J]. Journal of Intelligent & Robotic Systems, 2015, 79 : 507 - 522
  • [7] Implementation of a BIM Domain-specific Language for the Building Environment Rule and Analysis
    Lee, Jin-Kook
    Eastman, Charles M.
    Lee, Yong Cheol
    [J]. JOURNAL OF INTELLIGENT & ROBOTIC SYSTEMS, 2015, 79 (3-4) : 507 - 522
  • [8] WebDSL: A Case Study in Domain-Specific Language Engineering
    Visser, Eelco
    [J]. GENERATIVE AND TRANSFORMATIONAL TECHNIQUES IN SOFTWARE ENGINEERING II, 2008, 5235 : 291 - 373
  • [9] A Domain-Specific Language for Aviation Domain Interoperability
    Comitz, Paul
    [J]. 2013 INTEGRATED COMMUNICATIONS, NAVIGATION AND SURVEILLANCE CONFERENCE (ICNS), 2013,
  • [10] JAMOOS: A domain-specific language for language processing
    Gil, Joseph Yossi
    Tsoglin, Yuri
    [J]. 2001, University of Zagreb, Faculty of Political Sciences (09)