Domain-Specific Program Checking

被引:0
作者
Renggli, Lukas [1 ]
Ducasse, Stephane [2 ]
Girba, Tudor [3 ]
Nierstrasz, Oscar [1 ]
机构
[1] Univ Bern, Software Composit Grp, CH-3012 Bern, Switzerland
[2] INRIA, RMoD, Lille, France
[3] Software Engn GmbH, Sw eng, Bern, Switzerland
来源
OBJECTS, MODELS, COMPONENTS, PATTERNS | 2010年 / 6141卷
基金
瑞士国家科学基金会;
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Lint-like program checkers are popular tools that ensure code quality by verifying compliance with best practices for a particular programming language. The proliferation of internal domain-specific languages and models, however, poses new challenges for such tools. Traditional program checkers produce many false positives and fail to accurately check constraints, best practices, common errors, possible optimizations and portability issues particular to domain-specific languages. We advocate the use of dedicated rules to check domain-specific practices. We demonstrate the implementation of domain-specific rules, the automatic repair of violations, and their application to two case-studies: (1) Seaside defines several internal DSLs through a creative use of the syntax of the host language; and (2) Magritte adds meta-descriptions to existing code by means of special methods. Our empirical validation demonstrates that domain-specific program checking significantly improves code quality when compared with general purpose program checking.
引用
收藏
页码:213 / +
页数:3
相关论文
共 50 条
  • [21] Tutorials in domain-specific acquisition
    BastienToniazzo, M
    INTERNATIONAL JOURNAL OF PSYCHOLOGY, 1997, 32 (03) : 129 - 138
  • [22] Are there domain-specific thinking skills?
    Smith, G
    JOURNAL OF PHILOSOPHY OF EDUCATION, 2002, 36 (02) : 207 - 227
  • [23] Unembedding Domain-Specific Languages
    Atkey, Robert
    Lindley, Sam
    Yallop, Jeremy
    HASKELL'09: PROCEEDINGS OF THE 2009 ACM SIGPLAN HASKELL SYMPOSIUM, 2009, : 37 - 48
  • [24] Domain-specific Event Abstraction
    Klessascheck, Finn
    Lichtenstein, Tom
    Meier, Martin
    Remy, Simon
    Sachs, Jan Philipp
    Pufahl, Luise
    Miotto, Riccardo
    Boettinger, Erwin
    Weske, Mathias
    24TH INTERNATIONAL CONFERENCE ON BUSINESS INFORMATION SYSTEMS (BIS): ENTERPRISE KNOWLEDGE AND DATA SPACES, 2021, : 117 - 126
  • [25] Exploring Domain-Specific Perfectionism
    McArdle, Siobhain
    JOURNAL OF PERSONALITY, 2010, 78 (02) : 493 - 508
  • [26] Domain-Specific Paraphrase Extraction
    Pavlick, Ellie
    Ganitkevitch, Juri
    Chan, Tsz Ping
    Yao, Xuchen
    Van Durme, Benjamin
    Callison-Burch, Chris
    PROCEEDINGS OF THE 53RD ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL) AND THE 7TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (IJCNLP), VOL 2, 2015, : 57 - 62
  • [27] A domain-specific software architecture
    Geng, GY
    Zhong, CH
    Chen, W
    1997 IEEE INTERNATIONAL CONFERENCE ON INTELLIGENT PROCESSING SYSTEMS, VOLS 1 & 2, 1997, : 1833 - 1837
  • [28] A Domain-Specific Language for Microservices
    Donham, Jacob
    PROCEEDINGS OF THE 9TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON SCALA (SCALA '18), 2018, : 2 - 12
  • [29] The Open Domain-Specific Architecture
    Drucker, Kevin
    Jani, Dharmesh
    Agarwal, Ishwar
    Miller, Gary
    Mittal, Millind
    Wang, Robert
    Vinnakota, Bapiraju
    2020 IEEE SYMPOSIUM ON HIGH-PERFORMANCE INTERCONNECTS (HOTI 2020), 2020, : 25 - 32
  • [30] Domain-Specific Hardware Accelerators
    Dally, William J.
    Turakhia, Yatish
    Han, Song
    COMMUNICATIONS OF THE ACM, 2020, 63 (07) : 48 - 57