arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.04574cs.PL
收藏

依赖类型的去函数化

Defunctionalization with Dependent Types

Yulong Huang, Jeremy Yallop

AI总结:

本文首次提出依赖类型语言的正式去函数化翻译,确立健全性与类型保持等元理论性质,适用于保持类型的编译器。

摘要:

消除程序中高阶函数的去函数化翻译是许多编译器的关键部分。然而,依赖类型语言的去函数化尚未被正式研究。我们提出了依赖类型语言的第一个正式指定的去函数化翻译,并确立了健全性和类型保持等关键元理论性质。该翻译适合纳入依赖类型语言的保持类型的编译器。

英文摘要:

The defunctionalization translation that eliminates higher-order functions from programs forms a key part of many compilers. However, defunctionalization for dependently-typed languages has not been formally studied. We present the first formally-specified defunctionalization translation for a dependently-typed language and establish key metatheoretical properties such as soundness and type preservation. The translation is suitable for incorporation into type-preserving compilers for dependently-typed languages

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑