跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:1908.02035 (cs)
[提交于 2019年8月30日 (v1),最后修订于 2021年8月17日 (此版本, v3)]

标题:A Dependently Typed Multi-Stage Calculus

作者:Akira Kawata, Atsushi Igarashi
查看论文《A Dependently Typed Multi-Stage Calculus》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We study a dependently typed extension of a multi-stage programming language \`a la MetaOCaml, which supports quasi-quotation and cross-stage persistence for manipulation of code fragments as first-class values and an evaluation construct for execution of programs dynamically generated by this code manipulation. Dependent types are expected to bring to multi-stage programming enforcement of strong invariant -- beyond simple type safety -- on the behavior of dynamically generated code. An extension is, however, not trivial because such a type system would have to take stages of types -- roughly speaking, the number of surrounding quotations -- into account. To rigorously study properties of such an extension, we develop $\lambda^{MD}$, which is an extension of Hanada and Igarashi's typed calculus $\lambda^{\triangleright\%} $ with dependent types, and prove its properties including preservation, confluence, strong normalization for full reduction, and progress for staged reduction. Motivated by code generators that generate code whose type depends on a value from outside of the quotations, we argue the significance of cross-stage persistence in dependently typed multi-stage programming and certain type equivalences that are not directly derived from reduction rules.
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:1908.02035 [cs.PL]
  (或者 arXiv:1908.02035v3 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1908.02035

提交历史

来自:Atsushi Igarashi
[v2] 2019年8月30日 星期五 09:29:50 UTC
[v3] 2021年8月17日 星期二 08:03:24 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-08
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站