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 条
  • [41] Liveness-Based Garbage Collection for Lazy Languages
    Kumar, Prasanna K.
    Sanyal, Amitabha
    Karkare, Amey
    ACM SIGPLAN NOTICES, 2016, 51 (11) : 122 - 133
  • [42] Handling complex representations in visual modeling tools for MDSD/DSM by means of code generator languages
    Djukic, Verislav
    Popovic, Aleksandar
    JOURNAL OF COMPUTER LANGUAGES, 2023, 75
  • [43] Lazy but Effective Functional Synthesis
    Fedyukovich, Grigory
    Gurfinkel, Arie
    Gupta, Aarti
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2019, 2019, 11388 : 92 - 113
  • [44] Lazy Functional Incremental Parsing
    Bernardy, Jean-Philippe
    HASKELL'09: PROCEEDINGS OF THE 2009 ACM SIGPLAN HASKELL SYMPOSIUM, 2009, : 49 - 60
  • [45] BSP in a lazy functional context
    Miller, Q
    TRENDS IN FUNCTIONAL PROGRAMMING 3, 2002, : 37 - 50
  • [46] TRANSPORTABLE CODE GENERATOR GENERATOR SYSTEM
    WILLIAMS, MH
    BULMER, AR
    INFORMATION PROCESSING LETTERS, 1979, 9 (03) : 122 - 125
  • [47] A VARIATION OF KNOOP, RUTHING, AND STEFFENS LAZY CODE MOTION
    DRECHSLER, KH
    STADEL, MP
    SIGPLAN NOTICES, 1993, 28 (05): : 29 - 38
  • [48] Adjoint code generator
    CHENG Qiang1
    2 LSEC
    3 Institute of Software
    4 College of Applied Science
    Science China(Information Sciences), 2009, (06) : 926 - 941
  • [49] VERY SIMPLE GENERATOR LANGUAGES
    FROUGNY, C
    RAIRO-INFORMATIQUE THEORIQUE-THEORETICAL COMPUTER SCIENCE, 1979, 13 (01): : 69 - 86
  • [50] Adjoint code generator
    Cheng Qiang
    Cao JianWen
    Wang Bin
    Zhang HaiBin
    SCIENCE IN CHINA SERIES F-INFORMATION SCIENCES, 2009, 52 (06): : 926 - 941