A polymorphic modal type system for lisp-like multi-staged languages
A polymorphic modal type system for lisp-like multi-staged languages
复制标题
类 lisp 多阶段语言的多态模态类型系统
DOI:
10.1145/1111037.1111060
复制
发表时间:
2006
期刊:
影响因子:
--
通讯作者:
Cristiano Calcagno
中科院分区:
文献类型:
--
作者:
Ik;K. Yi;Cristiano Calcagno
This article presents a polymorphic modal type system and its principal type inference algorithm that conservatively extend ML by all of Lisp's staging constructs (the quasi-quotation system). The combination is meaningful because ML is a practical higher-order, impure, and typed language, while Lisp's quasi-quotation system has long evolved complying with the demands from multi-staged programming practices. Our type system supports open code, unrestricted operations on references, intentional variable-capturing substitution as well as capture-avoiding substitution, and lifting values into code, whose combination escaped all the previous systems.