计算机科学 > 程序设计语言
[提交于 2019年9月12日]
标题:Towards Gradually Typed Capabilities in the Pi-Calculus
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:EPTCS[v1] 2019年9月12日 星期四 22:24:26 UTC