Home >

news ヘルプ

論文・著書情報


タイトル
和文:Compilation Semantics for a Programming Language with Versions 
英文:Compilation Semantics for a Programming Language with Versions 
著者
和文: 田邉裕大, Luthfan Anshar Lubis, Tomoyuki Aotani, Hidehiko Masuhara.  
英文: Yudai Tanabe, Luthfan Anshar Lubis, Tomoyuki Aotani, Hidehiko Masuhara.  
言語 English 
掲載誌/書名
和文: 
英文: 
巻, 号, ページ        
出版年月 2023年 
出版者
和文: 
英文: 
会議名称
和文: 
英文: 
開催地
和文: 
英文: 
公式リンク https://arxiv.org/abs/2310.00298
 
DOI https://doi.org/10.48550/ARXIV.2310.00298
アブストラクト Programming with versions is a paradigm that allows a program to use multiple versions of a module so that the programmer can selectively use functions from both older and newer versions of a single module. Previous work formalized $λ_{\mathrm{VL}}$, a core calculus for programming with versions, but it has not been integrated into practical programming languages. In this paper, we propose VL, a Haskell-subset surface language for $λ_{\mathrm{VL}}$ along with its compilation method. We formally describe the core part of the VL compiler, which translates from the surface language to the core language by leveraging Girard's translation, soundly infers the consistent version of expressions along with their types, and generates a multi-version interface by bundling specific-version interfaces. We conduct a case study to show how VL supports practical software evolution scenarios and discuss the method's scalability.

©2007 Institute of Science Tokyo All rights reserved.