Two-level languages for program optimization

被引:0
|
作者
Calcagno, C [1 ]
机构
[1] Univ Genoa, DISI, Genoa, Italy
关键词
partial evaluation; program generation; semantics;
D O I
10.1016/j.tcs.2003.11.013
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Two-level languages incorporate binding time information inside types, that is, whether a piece of code is completely known at compile-time, or needs some more inputs and can be evaluated only at run-time. We consider the use of 2-level languages in the framework of partial evaluation, and use a 2-level version of the simply typed lambda calculus with recursion. We give an operational semantics, an equational theory and a denotational semantics, that give an account of the distinction between compilation and execution phases. An adequacy theorem is given to relate the two semantics, showing in particular how they agree on non-termination at compile time. We finally give a more refined model using functor categories. (C) 2003 Elsevier B.V. All rights reserved.
引用
收藏
页码:61 / 81
页数:21
相关论文
共 50 条
  • [31] Two-level optimization approach to tree-level forest planning
    Yusen Sun
    Xingji Jin
    Timo Pukkala
    Fengri Li
    [J]. Forest Ecosystems, 2022, (01) : 1 - 12
  • [32] Two-level optimization approach to tree-level forest planning
    Sun, Yusen
    Jin, Xingji
    Pukkala, Timo
    Li, Fengri
    [J]. FOREST ECOSYSTEMS, 2022, 9
  • [33] A two-level optimization scheme for bandwidth optimization of a microprocessor vertical interconnect
    Sathanur, Arun V.
    Jandhyala, Vikram
    Braunisch, Henning
    [J]. ELECTRICAL PERFORMANCE OF ELECTRONIC PACKAGING AND SYSTEMS, 2009, : 133 - +
  • [34] A two-level optimization approach for robust aircraft routing and retiming
    Ben Ahmed, M.
    Mansour, Zeghal
    Haouari, M.
    [J]. COMPUTERS & INDUSTRIAL ENGINEERING, 2017, 112 : 586 - 594
  • [35] A two-level delimitative and combinatorial algorithm for discrete optimization of structures
    S. Chai
    H. C. Sun
    [J]. Structural optimization, 1997, 13 : 250 - 257
  • [36] Two-level village classification and layout optimization with differentiated objectives
    Geng, Yiwei
    Chen, Weiqiang
    Zhang, Jinxin
    Yang, Yiming
    Ma, Yuehong
    [J]. Nongye Gongcheng Xuebao/Transactions of the Chinese Society of Agricultural Engineering, 2022, 38 (04): : 278 - 286
  • [37] Differential evolution with two-level adaptive mechanism for numerical optimization
    Yan, Xueqing
    Tian, Mengnan
    [J]. KNOWLEDGE-BASED SYSTEMS, 2022, 241
  • [38] Two-level MPRM functions optimization based on majority cubes
    Wang, Lun-Yao
    Xia, Yin-Shui
    Chen, Xie-Xiong
    [J]. Dianzi Yu Xinxi Xuebao/Journal of Electronics and Information Technology, 2012, 34 (04): : 986 - 991
  • [39] Two-level response and parameter mapping optimization for magnetic shielding
    Crevecoeur, Guillaume
    Sergeant, Peter
    Dupre, Luc
    Van de Walle, Rik
    [J]. IEEE TRANSACTIONS ON MAGNETICS, 2008, 44 (02) : 301 - 308
  • [40] Two-Level Multifidelity Design Optimization Studies for Supersonic Jets
    Choi, Seongim
    Alonso, Juan J.
    Kroo, Ilan M.
    [J]. JOURNAL OF AIRCRAFT, 2009, 46 (03): : 776 - 790