Foundation of Meta-Programming
Foundation of Meta-Programming
批准号:
16500004
负责人:
KAMEYAMA Yukiyoshi
金额:
$2.46万
依托单位:
依托单位国家:
日本
项目类别:
Grant-in-Aid for Scientific Research (C)
财政年份:
2004
资助国家:
日本
项目状态:
已结题
起止时间:
2004 至 2007
中文摘要
这个为期四年的项目的主要目的是学习元编程的基础,也就是编写一个生成程序的程序。元程序设计普遍存在于软件的各个领域,特别是特定领域的语言中,因此,高效、可靠地构建元程序是当今计算机科学中的一个重要问题。在这项研究中,我们观察到对元程序的适当处理需要明确地分离程序的两个控制流,一个用于代码生成,另一个用于生成的代码的执行。为了显式地操纵这些控制流,并将它们抽象为有界的连续,我们研究了两组最重要的控制算子,“移位/重置”和“控制/提示”,并为它们构造了刚性的基础。在对它们进行语义分析的基础上,(1)给出了它们的类型系统;(2)证明了它们与CPS翻译的类型可靠性、合流性、兼容性等基本性质;(3)分析了它们的表达能力。我们相信,这些结果为未来元编程的研究奠定了坚实的基础。
英文摘要
The main purpose of this four-year project is to study the foundation of meta-programming, that is, writing a program that generates programs. Meta-programming is ubiquitous in various fields of software, in particular, domain-specific languages, and, therefore, the efficient and reliable construction of meta-programs is an important issue in today's computer science. In this study, we have observed that a proper treatment of meta-programs needs a clear separation of two control flows of programs, one for the code generation, and the other for the execution of the generated codes. In order to explicitly manipulate these control flows, and abstract them as delimited continuations, we have studied two most important sets of control operators, "shift/reset" and "control/prompt", and constructed rigid foundation for them. Based on the semantical analysis for them, we have (1) given type systems for them, (2) proved basic properties such as type soundness, confluence, and compatibility with CPS translation, and (3) analyzed the expressive power of them. We believe that these results build a solid foundation for the future study of meta-programming.
期刊论文(37)
专著(0)
科研奖励(0)
会议论文
登录
查看更多内容
Improving Realtime model Checking by Abstraction and Refinement
通过抽象和细化改进实时模型检查
DOI:
--
发表时间:
2004
期刊:
IPSJ Transactions on Programming Vol.45, No.SIG12(PRO23)
影响因子:
--
作者:
[Hajime Nakajima, Yukiyoshi Kameyama]
通讯作者:
Yukiyoshi Kameyama
Semantics and Implementation of Programming Languages with Dynamic Environments and Delimited Continuations(in Japnese)
具有动态环境和定界延续的编程语言的语义和实现(日语)
DOI:
--
发表时间:
2007
期刊:
影响因子:
--
作者:
[Yo Tanaka, Yukiyoshi Kameyama]
通讯作者:
Yukiyoshi Kameyama
階層化コントロールオペレータに対する型システムの構築
为分层控制运算符构建类型系统
DOI:
--
发表时间:
2007
期刊:
情報処理学会論文誌 : プログラミング PRO-33(採録決定)
影响因子:
--
作者:
[鈴木輝信, 亀山幸義]
通讯作者:
亀山幸義
E-learning of Foundation of Computer Science
计算机科学基础电子学习
DOI:
--
发表时间:
2006
期刊:
Proc. AEARU Workshop on Network Education
影响因子:
--
作者:
[Yukiyoshi Kameyama, Masahiko Sato]
通讯作者:
Masahiko Sato
Weighted Kripke Structures and Refinement of Models
加权克里普克结构和模型细化
DOI:
--
发表时间:
2006
期刊:
日本ソフトウェア科学会第23回大会論文集 23(オンライン)
影响因子:
--
作者:
[亀山幸義, 木下佳樹, 西沢弘毅]
通讯作者:
西沢弘毅
共 24 条
Calculi for Call-by-Need and Control Abstraction
-
批准号:25540023
-
项目类别:Grant-in-Aid for Challenging Exploratory Research
-
资助金额:$1.0万
-
财政年份:2013
-
负责人:KAMEYAMA Yukiyoshi
-
依托单位:
Logical aspect of Control Operators and Program Extraction
-
批准号:23650003
-
项目类别:Grant-in-Aid for Challenging Exploratory Research
-
资助金额:$1.5万
-
财政年份:2011
-
负责人:KAMEYAMA Yukiyoshi
-
依托单位:
Foundation of Programming Languages for Code Generation
-
批准号:21300005
-
项目类别:Grant-in-Aid for Scientific Research (B)
-
资助金额:$6.91万
-
财政年份:2009
-
负责人:KAMEYAMA Yukiyoshi
-
依托单位:
Calculus and Logic of Delimited Continuations
-
批准号:13680411
-
项目类别:Grant-in-Aid for Scientific Research (C)
-
资助金额:$2.11万
-
财政年份:2001
-
负责人:KAMEYAMA Yukiyoshi
-
依托单位:
海外基金