Efficient code generation for a domain specific language

被引:0
|
作者
Moss, A [1 ]
Muller, H [1 ]
机构
[1] Univ Bristol, Dept Comp Sci, Bristol BS8 1TH, Avon, England
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a domain-specific-language (DSL) for writing instances of a class of filter programs. The values in the language are symbolic and independent of a concrete precision. Efficient code generation is required to fit the program onto a target device limited in both memory and processing power. We construct an interpreter for the DSL in a language specific to the device which contains the semantics of the target instruction set embedded within a declarative meta-language. The compiler is automatically generated from the interpreter through specialisation. This extension of the instruction set allows the construction of an interpreter for the DSL that is both simple and clear. In particular it allows us to declare static representations of the symbolic values, and have the specialisation of the code produce operate upon these values in the instruction set of the target device.
引用
收藏
页码:47 / 62
页数:16
相关论文
共 50 条
  • [1] 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
  • [2] 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)
  • [3] MPIRIGEN: MPI Code Generation through Domain-Specific Language Models
    Schneider, Nadav
    Hasabnis, Niranjan
    Vo, Vy A.
    Kadosh, Tal
    Krien, Neva
    Capota, Mihai
    Tamir, Guy
    Willke, Ted
    Ahmed, Nesreen
    Pinter, Yuval
    Mattson, Timothy
    Oren, Gal
    PROCEEDINGS OF THE 2024 ON WORKSHOP ON AI FOR SYSTEMS, AI4SYS 2024, 2024, : 1 - 6
  • [4] Multi-discretization domain specific language and code generation for differential equations
    Heisler, Eric
    Deshmukh, Aadesh
    Mazumder, Sandip
    Sadayappan, Ponnuswamy
    Sundar, Hari
    JOURNAL OF COMPUTATIONAL SCIENCE, 2023, 68
  • [5] Domain-specific language for infrastructure as code
    Shvetcova, Valeriya
    Borisenko, Oleg
    Polischuk, Maxim
    2019 IVANNIKOV MEMORIAL WORKSHOP (IVMEM 2019), 2019, : 39 - 45
  • [6] FINCH: Domain Specific Language and Code Generation for Finite Element and Finite Volume in Julia
    Heisler, Eric
    Deshmukh, Aadesh
    Sundar, Hari
    COMPUTATIONAL SCIENCE - ICCS 2022, PT I, 2022, : 118 - 132
  • [7] SimulateIoT: Domain Specific Language to Design, Code Generation and Execute IoT Simulation Environments
    Barriga, Jose A.
    Clemente, Pedro J.
    Sosa-Sanchez, Encarna
    Prieto, Alvaro E.
    IEEE ACCESS, 2021, 9 : 92531 - 92552
  • [8] Automatic Task-Based Code Generation for High Performance Domain Specific Embedded Language
    Tan, Antoine Tran
    Falcou, Joel
    Etiemble, Daniel
    Kaiser, Hartmut
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2016, 44 (03) : 449 - 465
  • [9] A Baseline Domain Specific Language Proposal for Model-Driven Web Engineering Code Generation
    Morales, Zuriel
    Magana, Cristina
    Alfonso Aguilar, Jose
    Zaldivar-Colado, Anibal
    Tripp-Barba, Carolina
    Misra, Sanjay
    Garcia, Omar
    Zurita, Eduardo
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2016, PT V, 2016, 9790 : 50 - 59
  • [10] Generation of high-performance code based on a domain-specific language for algorithmic skeletons
    Fabian Wrede
    Christoph Rieger
    Herbert Kuchen
    The Journal of Supercomputing, 2020, 76 : 5098 - 5116