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 条
  • [1] Functor categories and two-level languages
    Moggi, E
    [J]. FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, 1998, 1378 : 211 - 225
  • [2] Two-level optimization of prestressed structures
    Kirsch, U
    [J]. ENGINEERING STRUCTURES, 1997, 19 (04) : 309 - 317
  • [3] TWO-LEVEL OPTIMIZATION OF SENSORS REPOSITION
    Ivanko, E. E.
    [J]. BULLETIN OF THE SOUTH URAL STATE UNIVERSITY SERIES-MATHEMATICAL MODELLING PROGRAMMING & COMPUTER SOFTWARE, 2016, 9 (03): : 130 - 136
  • [4] Convex two-level optimization problem
    Kryazhimskii A.V.
    Usachev R.A.
    [J]. Computational Mathematics and Modeling, 2008, 19 (1) : 73 - 101
  • [5] Modal Intersection Types, Two-Level Languages, and Staged Synthesis
    Henglein, Fritz
    Rehof, Jakob
    [J]. SEMANTICS, LOGICS, AND CALCULI: ESSAYS DEDICATED TO HANNE RIIS NIELSON AND FLEMMING NIELSON ON THE OCCASION OF THEIR 60TH BIRTHDAYS, 2016, 9560 : 289 - 312
  • [6] The optimization analysis of the two-level tree network
    Zhang, Dong-Hui
    Zhang, Wei-Lin
    Zhao, Zhong-Chao
    Tang, Chun-Li
    [J]. Kung Cheng Je Wu Li Hsueh Pao/Journal of Engineering Thermophysics, 2010, 31 (12): : 2094 - 2096
  • [7] Two-level optimization of a polygonal TEM horn
    E. A. Nikitin
    I. S. Sineva
    E. A. Skorodumov
    [J]. Journal of Communications Technology and Electronics, 2016, 61 : 395 - 401
  • [8] Manifold mapping: a two-level optimization technique
    Echeverria, D.
    Hemker, P. W.
    [J]. COMPUTING AND VISUALIZATION IN SCIENCE, 2008, 11 (4-6) : 193 - 206
  • [9] Two-level optimization of a polygonal TEM horn
    Nikitin, E. A.
    Sineva, I. S.
    Skorodumov, E. A.
    [J]. JOURNAL OF COMMUNICATIONS TECHNOLOGY AND ELECTRONICS, 2016, 61 (04) : 395 - 401
  • [10] A TWO-LEVEL LOAN PORTFOLIO OPTIMIZATION PROBLEM
    Hu, JianQiang
    Liu, Tie
    Tong, Jun
    Cao, Rongzeng
    Yang, Bo
    [J]. PROCEEDINGS OF THE 2010 WINTER SIMULATION CONFERENCE, 2010, : 2614 - 2619