FCG - A CODE GENERATOR FOR LAZY FUNCTIONAL LANGUAGES

被引:0
|
作者
LANGENDOEN, K
HARTEL, PH
机构
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The FCG code generator produces portable code that supports efficient two-space copying garbage collection. The code generator transforms the output of the FAST compiler front end into an abstract machine code. This code explicitly uses a call stack, which is accessible to the garbage collector. In contrast to other functional language compilers that generate assembly directly, FCG uses the C compiler for code generation, providing high-quality code optimisations and portability. To make full use of the C compiler's capabilities, FCG includes an optimisation scheme that transforms the naively generated stack-based code into a register-based equivalent form. The results for a benchmark of functional programs show that code generated by FCG performs well in comparison with the LML compiler.
引用
收藏
页码:278 / 296
页数:19
相关论文
共 50 条
  • [1] GENERATING EFFICIENT CODE FOR LAZY FUNCTIONAL LANGUAGES
    SMETSERS, S
    NOCKER, E
    VANGRONINGEN, J
    PLASMEIJER, R
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 523 : 592 - 617
  • [2] THE SEMANTICS OF LAZY FUNCTIONAL LANGUAGES
    JOSEPHS, MB
    THEORETICAL COMPUTER SCIENCE, 1989, 68 (01) : 105 - 111
  • [3] ALGORITHMIC DEBUGGING FOR LAZY FUNCTIONAL LANGUAGES
    NILSSON, H
    FRITZSON, P
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 631 : 385 - 399
  • [4] Debugging environment for lazy functional languages
    Lapalme, Guy
    Latendresse, Mario
    LISP and Symbolic Computation, 1992, 5 (03):
  • [5] Efficient Intensional Implementation for Lazy Functional Languages
    Charalambidis, Angelos
    Grivas, Athanasios
    Papaspyrou, Nikolaos S.
    Rondogiannis, Panos
    MATHEMATICS IN COMPUTER SCIENCE, 2008, 2 (01) : 123 - 141
  • [6] Usage counting analysis for lazy functional languages
    Hamilton, GW
    INFORMATION AND COMPUTATION, 1998, 146 (02) : 100 - 137
  • [7] A NEW PROGRAMMING TECHNIQUE FOR LAZY FUNCTIONAL LANGUAGES
    VANGILST, FA
    VANDENBROEK, PM
    SCIENCE OF COMPUTER PROGRAMMING, 1995, 24 (01) : 63 - 81
  • [8] GAMMA-CMC - FAST LAZY FUNCTIONAL LANGUAGES
    LINS, RD
    LIRA, BO
    MICROPROCESSING AND MICROPROGRAMMING, 1993, 37 (1-5): : 159 - 162
  • [9] A Semantic Framework to Debug Parallel Lazy Functional Languages
    de la Encina, Alberto
    Hidalgo-Herrero, Mercedes
    Llana, Luis
    Rubio, Fernando
    MATHEMATICS, 2020, 8 (06)
  • [10] Lightweight Computation Tree Tracing for Lazy Functional Languages
    Faddegon, Maarten
    Chitil, Olaf
    ACM SIGPLAN NOTICES, 2016, 51 (06) : 114 - 128