arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.03871cs.PL
收藏

FunTAL:合理混合函数式语言和汇编语言

FunTAL: Reasonably Mixing a Functional Language with Assembly

Daniel Patterson, Jamie Perconti, Christos Dimoulas, Amal Ahmed

摘要:

我们提出了FunTAL,第一个多语言系统,以形式化安全的高层次的功能语言和低层次的汇编代码之间的互操作性,同时支持组合推理的混合。开发这种多语言的一个核心挑战是弥合汇编和高级代码之间的差距,汇编分为跳转到延续和高级代码,其中子项返回结果。我们提出了一种基于组合堆栈的类型化汇编语言,它支持由一个或多个基本块组成的组件,这些组件可以嵌入到高级上下文中。我们还提出了一个逻辑关系的FunTAL,支持推理等价的高级组件和它们的汇编替换,语言之间的回调混合语言程序,和汇编组件组成的不同数量的基本块。

英文摘要:

We present FunTAL, the first multi-language system to formalize safe interoperability between a high-level functional language and low-level assembly code while supporting compositional reasoning about the mix. A central challenge in developing such a multi-language is bridging the gap between assembly, which is staged into jumps to continuations, and high-level code, where subterms return a result. We present a compositional stack-based typed assembly language that supports components, comprised of one or more basic blocks, that may be embedded in high-level contexts. We also present a logical relation for FunTAL that supports reasoning about equivalence of high-level components and their assembly replacements, mixed-language programs with callbacks between languages, and assembly components comprised of different numbers of basic blocks.

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

↑