Overview and industrial application of code generator generators

被引:0
|
作者
Andersson, N
Fritzson, P
机构
[1] Dept. of Comp. and Info. Science, Linköping University
关键词
EFFICIENT;
D O I
10.1016/0164-1212(95)00124-7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
During the past 10 to 15 years, there has been active research in the area of automatically generating the code generator part of compilers from formal specifications. However, little has been reported on the application of these systems in an industrial setting. This paper attempts to fill this gap, in addition to providing a tutorial overview of the most well-known methods. Four systems for automatic generation of code generators are described in this paper. CGSS, BEG, TWIG and BURG. CGSS is an older Graham-Glanville style system based on pattern matching through parsing, whereas BEG, TWIG, and BURG are more recent systems based on tree pattern matching combined with dynamic programming. An industrial-strength code generator previously implemented for a special-purpose language using the CGSS system is described and compared in some detail to our new implementation based on the BEG system. Several problems of integrating local and global register allocations within automatically generated code generators are described, and some solutions are proposed. In addition, the specification of a full code generator for SUN SPARC with register windows using the BEG system is described. We finally conclude that current technology of automatically generating code generators is viable in an industrial setting. However, further research needs to be done on the problem of properly integrating register allocation and instruction scheduling with instruction selection, when both are generated from declarative specifications.
引用
收藏
页码:185 / 214
页数:30
相关论文
共 50 条
  • [41] The "Code" of Ethics: A Holistic Audit of AI Code Generators
    Ma, Wanlun
    Song, Yiliao
    Xue, Minhui
    Wen, Sheng
    Xiang, Yang
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2024, 21 (05) : 4997 - 5013
  • [42] Application of a synchronous generator with a boost converter in wind turbines: an experimental overview
    Sharma, R.
    Rasmussen, T. W.
    Jensen, B. B.
    IET RENEWABLE POWER GENERATION, 2012, 6 (06) : 414 - 423
  • [43] WIRELESS WORLD LOGIC DISPLAY AID .3. CLOCK GENERATOR, COUNTER, CODE CONVERTER AND CHARACTER GENERATORS
    CRANK, BS
    WIRELESS WORLD, 1969, 75 (1405): : 311 - &
  • [44] COO - COMPILER OBJECT CODE GENERATOR GENERATOR
    SAJI, N
    MITSUHASI, F
    ISHIKAWA, H
    HOSAKA, I
    FUJIBAYASHI, S
    NEC RESEARCH & DEVELOPMENT, 1987, (85): : 55 - 59
  • [45] The Industrial Code
    Mallery, Otto T.
    ANNALS OF THE AMERICAN ACADEMY OF POLITICAL AND SOCIAL SCIENCE, 1922, 104 : 179 - 180
  • [46] The Industrial Code
    不详
    INTERNATIONAL LABOUR REVIEW, 1922, 6 (03) : 483 - 483
  • [47] Testing of Code-Based Pseudorandom Number Generators for Post-Quantum Application
    Kuznetsov, Alexandr
    Kiian, Anastasiia
    Smirnov, Oleksii
    Cherep, Alla
    Kanabekova, Meruert
    Chepurko, Iryna
    2020 IEEE 11TH INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS, SERVICES AND TECHNOLOGIES (DESSERT): IOT, BIG DATA AND AI FOR A SAFE & SECURE WORLD AND INDUSTRY 4.0, 2020, : 172 - 177
  • [48] An Overview on pH Measurement Technique and Application in Biomedical and Industrial Process
    Zulkarnay, Z.
    Shazwani, S.
    Ibrahim, B.
    Jurimah, A. J.
    Ruzairi, A. R.
    Zaridah, S.
    PROCEEDINGS 2015 2ND INTERNATIONAL CONFERENCE ON BIOMEDICAL ENGINEERING (ICOBE 2015), 2015,
  • [49] Technical Guidance Document: Application of Film Forming Substances in Industrial Steam Generators
    Dooley, R. B.
    PPCHEM, 2019, 21 (05): : 302 - 359
  • [50] Event generator overview
    Pang, Y
    NUCLEAR PHYSICS A, 1998, 638 (1-2) : 219C - 230C