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]   Democratizing Domain-Specific Computing [J].
Chi, Yuze ;
Qiao, Weikang ;
Sohrabizadeh, Atefeh ;
Wang, Jie ;
Cong, Jason .
COMMUNICATIONS OF THE ACM, 2023, 66 (01) :74-85
[22]   A domain-specific modeling milestone [J].
Jeff Gray ;
Bernhard Rumpe ;
Juha-Pekka Tolvanen .
Software and Systems Modeling, 2021, 20 :917-918
[23]   Domain-specific Event Abstraction [J].
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
[24]   Designing domain-specific processors [J].
Arnold, M ;
Corporaal, H .
PROCEEDINGS OF THE NINTH INTERNATIONAL SYMPOSIUM ON HARDWARE/SOFTWARE CODESIGN, 2001, :61-66
[25]   Tutorials in domain-specific acquisition [J].
BastienToniazzo, M .
INTERNATIONAL JOURNAL OF PSYCHOLOGY, 1997, 32 (03) :129-138
[26]   Are there domain-specific thinking skills? [J].
Smith, G .
JOURNAL OF PHILOSOPHY OF EDUCATION, 2002, 36 (02) :207-227
[27]   Exploring Domain-Specific Perfectionism [J].
McArdle, Siobhain .
JOURNAL OF PERSONALITY, 2010, 78 (02) :493-508
[28]   Domain-Specific Paraphrase Extraction [J].
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
[29]   A domain-specific software architecture [J].
Geng, GY ;
Zhong, CH ;
Chen, W .
1997 IEEE INTERNATIONAL CONFERENCE ON INTELLIGENT PROCESSING SYSTEMS, VOLS 1 & 2, 1997, :1833-1837
[30]   Unembedding Domain-Specific Languages [J].
Atkey, Robert ;
Lindley, Sam ;
Yallop, Jeremy .
HASKELL'09: PROCEEDINGS OF THE 2009 ACM SIGPLAN HASKELL SYMPOSIUM, 2009, :37-48