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
来源
GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING, PROCEEDINGS | 2005年 / 3676卷
关键词
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 条
  • [21] SimulateIoT-FIWARE: Domain Specific Language to Design, Code Generation and Execute IoT Simulation Environments on FIWARE
    Barriga, Jose A.
    Clemente, Pedro J.
    Hernandez, Juan
    Perez-Toledano, Miguel A.
    IEEE ACCESS, 2022, 10 : 7800 - 7822
  • [22] A Domain-Specific Language for Automatic Generation of Checkers
    Hadiwijaya, Ryan Ignatius
    Liem, M. M. Inggriani
    2015 INTERNATIONAL CONFERENCE ON DATA AND SOFTWARE ENGINEERING (ICODSE), 2015, : 7 - 12
  • [23] 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,
  • [24] From a Formalized Parallel Action Language to Its Efficient Code Generation
    Llopard, Ivan
    Fabre, Christian
    Cohen, Albert
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2017, 16 (02)
  • [25] RUNTIME CODE GENERATION FOR INTERPRETED DOMAIN-SPECIFIC MODELING LANGUAGES
    Meyer, Tom
    Helms, Tobias
    Warnke, Tom
    Uhrmacher, Adelinde M.
    2018 WINTER SIMULATION CONFERENCE (WSC), 2018, : 605 - 615
  • [26] 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
  • [27] DOMAIN SPECIFIC LANGUAGE FOR THE GENERATION OF LEARNING MANAGEMENT SYSTEMS MODULES
    Enrique Montenegro-Marin, Carlos
    Manuel Cueva-Lovelle, Juan
    Sanjuan-Martinez, Oscar
    Garcia-Diaz, Vicente
    JOURNAL OF WEB ENGINEERING, 2012, 11 (01): : 23 - 50
  • [28] Domain Specific Query Generation from Natural Language Text
    Iftikhar, Anum
    Iftikhar, Erum
    Mehmood, Muhammad Khalid
    2016 SIXTH INTERNATIONAL CONFERENCE ON INNOVATIVE COMPUTING TECHNOLOGY (INTECH), 2016, : 502 - 506
  • [29] Runtime code generation in C++ as a foundation for domain-specific optimisation
    Beckmann, O
    Houghton, A
    Mellor, M
    Kelly, PHJ
    DOMAIN-SPECIFIC PROGRAM GENERATION, 2003, 3016 : 291 - 306
  • [30] 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