Mumbo: A Rule-Based Implementation of a Run-time Program Generation Language

被引:0
|
作者
Aktemur, Baris [1 ]
Kamin, Sam [1 ]
机构
[1] Univ Illinois, Dept Comp Sci, Urbana, IL 61801 USA
基金
美国国家科学基金会;
关键词
Run-time program generation; Rule-based programming;
D O I
10.1016/j.entcs.2005.06.036
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We describe our efforts to use rule-based programming to produce a model of Jumbo, a run-time program generation (RTPG) system for Java. Jumbo incorporates RTPG following the simple principle that the regular compiler - or, rather, its back-end - can be used both for ordinary, static compilation and for run-time compilation. This tends to produce a run-time compiler that is inefficient but potentially subject to improvement by partial evaluation. However, the complexity of the language and compiler have made it difficult for us to achieve actual optimization. The model, written in Maude, preserves all the essential ingredients of Jumbo, but operates on a simplified language, called Mumbo. The simplification in the language together with Maude's support for code rewriting has allowed us to make rapid progress. We discuss the model in detail, the kinds of optimizations we have obtained, and the impact on the Jumbo project.
引用
收藏
页码:31 / 55
页数:25
相关论文
共 50 条
  • [1] Optimizing marshalling by run-time program generation
    Aktemur, B
    Jones, J
    Kamin, S
    Clausen, L
    [J]. GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING, PROCEEDINGS, 2005, 3676 : 221 - 236
  • [2] GENERATION OF RUN-TIME ENVIRONMENTS
    KAISER, GE
    [J]. SIGPLAN NOTICES, 1986, 21 (07): : 51 - 57
  • [3] IMPLEMENTATION OF AN ADA RUN-TIME ENVIRONMENT
    FISCHER, H
    SIBLEY, EH
    [J]. AFIPS CONFERENCE PROCEEDINGS, 1983, 52 : 47 - +
  • [4] THE IMPLEMENTATION OF RUN-TIME DIAGNOSTICS IN PASCAL
    FISCHER, CN
    LEBLANC, RJ
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1980, 6 (04) : 313 - 319
  • [5] Run-Time Code Generation for Materials
    Reiter, Stephan
    [J]. RT08: IEEE/EG SYMPOSIUM ON INTERACTIVE RAY TRACING 2008, PROCEEDINGS, 2008, : 188 - 188
  • [6] Routine run-time code generation
    Kamin, S
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (12) : 44 - 56
  • [7] Compiling for template-based run-time code generation
    Smith, F
    Grossman, D
    Morrisett, G
    Hornof, L
    Jim, T
    [J]. JOURNAL OF FUNCTIONAL PROGRAMMING, 2003, 13 : 677 - 708
  • [8] A Haskell Implementation of a Rule-Based Program Transformation for C Programs
    Tamarit, Salvador
    Vigueras, Guillermo
    Carro, Manuel
    Marino, Julio
    [J]. PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, PADL 2015, 2015, 9131 : 105 - 114
  • [9] An implementation framework for run-time reconfigurable systems
    Eisenring, M
    Platzner, M
    [J]. PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, VOLS I-V, 2000, : 151 - 157
  • [10] ON THE RUN-TIME OPTIMIZATION OF THE BOOLEAN LOGIC OF A PROGRAM
    CADOLINO, C
    GUAZZO, M
    [J]. INFORMATION PROCESSING & MANAGEMENT, 1982, 18 (05) : 267 - 279