On Cross-Stage Persistence in Multi-Stage Programming

被引:0
|
作者
Hanada, Yuichiro [1 ]
Igarashi, Atsushi [1 ]
机构
[1] Kyoto Univ, Grad Sch Informat, Kyoto, Japan
来源
FUNCTIONAL AND LOGIC PROGRAMMING, FLOPS 2014 | 2014年 / 8475卷
关键词
METAML;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We develop yet another typed multi-stage calculus. lambda((sic)%). It extends Tsukada and Igarashi's. lambda((sic)) with cross-stage persistence and is equipped with all the key features that MetaOCaml-style multi-stage programming supports. It has an arguably simple, substitution-based full-reduction semantics and enjoys basic properties of subject reduction, confluence, and strong normalization. Progress also holds under an alternative semantics that takes staging into account and models program execution. The type system of lambda((sic)%) gives a sufficient condition when residual programs can be safely generated, making. lambda((sic)%) more suitable for writing generating extensions than previous multi-stage calculi.
引用
收藏
页码:103 / 118
页数:16
相关论文
共 50 条
  • [1] An ML-Style Module System for Cross-Stage Type Abstraction in Multi-stage Programming
    Suwa, Takashi
    Igarashi, Atsushi
    FUNCTIONAL AND LOGIC PROGRAMMING, FLOPS 2024, 2024, 14659 : 237 - 272
  • [2] Multi-stage programming
    Taha, W
    Sheard, T
    ACM SIGPLAN NOTICES, 1997, 32 (08) : 321 - 321
  • [3] A gentle introduction to multi-stage programming
    Taha, W
    DOMAIN-SPECIFIC PROGRAM GENERATION, 2003, 3016 : 30 - 50
  • [4] Implicitly Heterogeneous Multi-Stage Programming
    Jason Eckhardt
    Roumen Kaiabachev
    Emir Pasalic
    Kedar Swadi
    Walid Taha
    New Generation Computing, 2007, 25 : 305 - 336
  • [5] Implicitly heterogeneous multi-stage programming
    Eckhardt, J
    Kaiabachev, R
    Pasalic, E
    Swadi, K
    Taha, W
    GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING, PROCEEDINGS, 2005, 3676 : 275 - 292
  • [6] Refining semantics for multi-stage programming
    Ge, Rui
    Garcia, Ronald
    JOURNAL OF COMPUTER LANGUAGES, 2019, 51 : 222 - 240
  • [7] Refining Semantics for Multi-stage Programming
    Ge, Rui
    Garcia, Ronald
    PROCEEDINGS OF THE 16TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING: CONCEPTS AND EXPERIENCES (GPCE'17), 2017, : 2 - 14
  • [8] Implicitly heterogeneous multi-stage programming
    Eckhardt, Jason.
    Kaiabachev, Roumen
    Pasalic, Emir
    Swadi, Kedar
    Taha, Walid
    NEW GENERATION COMPUTING, 2007, 25 (03) : 305 - 336
  • [9] Refining Semantics for Multi-stage Programming
    Ge, Rui
    Garcia, Ronald
    ACM SIGPLAN NOTICES, 2017, 52 (12) : 2 - 14