A Domain-Specific Language for Automatic Generation of Checkers

被引:0
|
作者
Hadiwijaya, Ryan Ignatius [1 ]
Liem, M. M. Inggriani [1 ]
机构
[1] Bandung Inst Technol, Sch Elect Engn & Informat, Jl Ganesha 10, Bandung 40132, Indonesia
关键词
automatic program grading; Domain-Specific Language; property checker;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
One of the important modules of a black-box automatic program grader is a "checker". In programming competition environment, a checker is a program written for the purpose to check the output of the contestant's program for a task that has many solutions. Usually, a checker is written manually as needed. In this paper, the idea of the output checker in the programming competition environment is extended to input checker and source code checker as a part of the automatic grader in our programming learning environment. Input checker validates the input coverage. The source code checker is used to validate a set of properties from a source code against the given coding specification. A Domain-Specific Language (DSL) grammar is designed and developed as a specification for the automatic generation of the output, input, and source code checkers. The DSL grammar and the checker generator tool set are used to evaluate source codes in our programming class. By writing the checkers specification in DSL, the specification is automatically documented and can be reused for similar properties.
引用
收藏
页码:7 / 12
页数:6
相关论文
共 50 条
  • [1] Domain-specific language for automatic generation of UML models
    Miranda, Marcio Assis
    Ribeiro, Marcos Guilherme
    Marques-Neto, Humberto Torres
    Junho Song, Mark Alan
    IET SOFTWARE, 2018, 12 (02) : 129 - 135
  • [2] Using UML as a Domain-Specific Modeling Language: A Proposal for Automatic Generation of UML Profiles
    Giachetti, Giovanni
    Marin, Beatriz
    Pastor, Oscar
    ADVANCED INFORMATION SYSTEMS ENGINEERING, PROCEEDINGS, 2009, 5565 : 110 - 124
  • [3] An Evaluation of Domain-Specific Language Technologies for Code Generation
    Schmittt, Christian
    Kuckuk, Sebastian
    Kostlert, Harald
    Hannig, Frank
    Teich, Jurgen
    2014 14TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ITS APPLICATIONS (ICCSA), 2014, : 18 - 26
  • [4] DEXTER: Automatic Extraction of Domain-Specific Glossaries for Language Teaching
    Perinan-Pascual, Carlos
    Mestre-Mestre, Eva M.
    CURRENT WORK IN CORPUS LINGUISTICS: WORKING WITH TRADITIONALLY- CONCEIVED CORPORA AND BEYOND (CILC2015), 2015, 198 : 377 - 385
  • [5] Grammar Prompting for Domain-Specific Language Generation with Large Language Models
    Wang, Bailin
    Wang, Zi
    Wang, Xuezhi
    Cao, Yuan
    Saurous, Rif A.
    Kim, Yoon
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [6] Automatic generation of domain-specific ontology from deep web
    Chen, Kerui
    Zuo, Wanli
    Zhang, Fan
    He, Fengling
    Peng, Tao
    Journal of Information and Computational Science, 2010, 7 (02): : 519 - 525
  • [7] DOMAIN-SPECIFIC AUTOMATIC PROGRAMMING
    BARSTOW, DR
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1985, 11 (11) : 1321 - 1336
  • [8] On the Effectiveness of Large Language Models in Domain-Specific Code Generation
    Gu, Xiaodong
    Chen, Meng
    Lin, Yalan
    Hu, Yuhan
    Zhang, Hongyu
    Wan, Chengcheng
    Wei, Zhao
    Xu, Yong
    Wang, Juhong
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2025, 34 (03)
  • [9] Grammar-driven generation of domain-specific language tools
    Wu, Hui
    Proc Conf Object Orient Program Syst Lang Appl OOPSLA, 1600, (772-773):
  • [10] EMG: A Domain-Specific Transformation Language for Synthetic Model Generation
    Popoola, Saheed
    Kolovos, Dimitrios S.
    Rodriguez, Horacio Hoyos
    THEORY AND PRACTICE OF MODEL TRANSFORMATIONS, ICMT 2016, 2016, 9765 : 36 - 51