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 条
  • [31] Grammar-driven generation of domain-specific language tools
    Wu, Hui
    Proc Conf Object Orient Program Syst Lang Appl OOPSLA, 1600, (772-773):
  • [32] Taking Natural Language Generation and Information Extraction to Domain Specific Tasks
    Varma, Sandeep
    Shivam, Shivam
    Natarajan, Sarun
    Biswas, Snigdha
    Gupta, Jahnvi
    INTELLIGENT SYSTEMS AND APPLICATIONS, VOL 3, INTELLISYS 2023, 2024, 824 : 713 - 728
  • [33] AUTOMATIC GENERATION OF FPGA HARDWARE ACCELERATORS USING A DOMAIN SPECIFIC LANGUAGE
    Menotti, Ricardo
    Cardoso, Joao M. P.
    Fernandes, Marcio M.
    Marques, Eduardo
    FPL: 2009 INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS, 2009, : 457 - +
  • [34] Towards High-Performance Code Generation for Multi-GPU Clusters Based on a Domain-Specific Language for Algorithmic Skeletons
    Wrede, Fabian
    Kuchen, Herbert
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2020, 48 (04) : 713 - 728
  • [35] Towards High-Performance Code Generation for Multi-GPU Clusters Based on a Domain-Specific Language for Algorithmic Skeletons
    Fabian Wrede
    Herbert Kuchen
    International Journal of Parallel Programming, 2020, 48 : 713 - 728
  • [36] A Textual Domain Specific Language for Task Models - Generating Code for CoTaL, CTTE, and HAMSTERS
    Forbrig, Peter
    Dittmar, Anke
    Kuehn, Mathias
    PROCEEDINGS OF THE ACM SIGCHI SYMPOSIUM ON ENGINEERING INTERACTIVE COMPUTING SYSTEMS (EICS'18), 2018,
  • [37] From Domain-Specific Language to Code: Smart Contracts and the Application of Design Patterns
    Woehrer, Maximilian
    Zdun, Uwe
    IEEE SOFTWARE, 2020, 37 (05) : 37 - 42
  • [38] Connecting domain-specific features to source code: towards the automatization of dashboard generation
    Andrea Vázquez-Ingelmo
    Francisco José García-Peñalvo
    Roberto Therón
    Daniel Amo Filvà
    David Fonseca Escudero
    Cluster Computing, 2020, 23 : 1803 - 1816
  • [39] Connecting domain-specific features to source code: towards the automatization of dashboard generation
    Vazquez-Ingelmo, Andrea
    Jose Garcia-Penalvo, Francisco
    Theron, Roberto
    Amo Filva, Daniel
    Fonseca Escudero, David
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2020, 23 (03): : 1803 - 1816
  • [40] Code Generation with the Exemplar Flexibilization Language
    Heradio, R.
    Cerrada, J. A.
    Lopez, J. C.
    Coz, J. R.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 238 (02) : 25 - 34