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

Pi-演算中的渐型能力

Towards Gradually Typed Capabilities in the Pi-Calculus

Matteo Cimini

摘要:

渐进式类型化是一种在同一语言中集成静态和动态类型化的方法,并使程序员控制代码的哪些区域在编译时进行类型检查,哪些区域在运行时进行类型检查。在本文中,我们专注于π演算配备了类型的通道的输入输出能力的建模。我们提出了我们的初步工作,逐步类型化的版本,这种演算。我们提出了一个类型系统,一个强制转换插入过程,自动插入运行时检查,和一个操作语义的pi演算,处理转换通道。虽然我们不要求任何理论结果,我们的配方,我们证明了我们的演算与一个例子,并讨论我们未来的计划。

英文摘要:

Gradual typing is an approach to integrating static and dynamic typing within the same language, and puts the programmer in control of which regions of code are type checked at compile-time and which are type checked at run-time. In this paper, we focus on the pi-calculus equipped with types for the modeling of input-output capabilities of channels. We present our preliminary work towards a gradually typed version of this calculus. We present a type system, a cast insertion procedure that automatically inserts run-time checks, and an operational semantics of a pi-calculus that handles casts on channels. Although we do not claim any theoretical results on our formulations, we demonstrate our calculus with an example and discuss our future plans.

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

↑