使用抽象机进行导入与导出的成本分析
Cost Analysis for Import and Export Using an Abstract Machine
AI总结:
该研究面向 JavaScript XML 构建带成本语义的抽象机,并提出可过近似程序成本的类型系统,证明其对终止程序的可靠性且给出实现。
摘要:
本文给出了一种基于 JavaScript XML 语言的抽象机的语法和归约规则。我们将成本概念纳入归约规则,并创建了一个可对该成本进行过近似的类型系统。这种过近似会产生一个方程,其中可能包含源自 while 循环的未知量。最后,我们形式化证明了该类型系统相对于抽象机的可靠性,表明它能过近似任何终止程序的成本。文中还介绍了该类型系统、约束收集以及抽象机的实现。
英文摘要:
This paper presents the syntax and reduction rules for an abstract machine based on the JavaScript XML language. We incorporate the notion of cost into our reduction rules, and create a type system that over-approximate this cost. This over-approximation results in an equation that may contain unknowns originating from while loops. We conclude with a formal proof of soundness of the type system for our abstract machine, demonstrating that it over-approximates the cost of any terminating program. An implementation of the type system, constraint gathering, and the abstract machine is also presented
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。