Bounded Session Types for Object Oriented Languages

Bounded Session Types for Object Oriented Languages
复制标题

面向对象语言的有界会话类型

DOI:
10.1007/978-3-540-74792-5_10
复制
发表时间:
2006
期刊:
LNCS Trans. Aspect Oriented Softw. Dev.
影响因子:
--
通讯作者:
N. Yoshida
N. Yoshida
中科院分区:
--
文献类型:
--
作者:
M. Dezani;Elena Giachino;S. Drossopoulou;N. Yoshida

文献摘要

参考文献

被引文献

相似文献

早期的工作探讨了将会话类型引入面向对象语言。根据会话类型文献,只要附加到该通信的类型(即相应的会话类型)彼此是对偶的,两方将开始通信。然后,类型系统能够确保健全性,即保证两个通信伙伴按照其会话类型指定的顺序接收/发送值序列。 在当前的论文中,我们通过两种方式改进了我们早期的工作:我们扩展类型系统以支持有界多态性,并且我们使选择更加面向对象,以便控制结构根据发送/接收的对象的类来确定如何继续评估。 有趣的是,尽管我们的选择概念比早期工作中的更强大,但随后的系统结果并没有变得更复杂,除了对偶性的概念之外,它需要扩展,以正确处理有界多态性,并捕获新的选择概念。 该论文包含一个示例、非正式解释、操作语义和类型系统的正式描述以及主题简化的证明。
Earlier work explored the introduction of session types into object oriented languages. Following the session types literature, two parties would start communicating, provided the types attached to that communication, i.e. the corresponding session types, were dual of each other. Then, the type system was able to ensure soundness, in the sense that two communicating partners were guaranteed to receive/send sequences of values following the order specified by their session types. In the current paper we improve upon our earlier work in two ways: we extend the type system to support bounded polymorphism, and we make the selection more object-oriented, so that control structures determine how to continue evaluation, depending on the class of the object being sent/received. Interestingly, although our notion of selection is more powerful than that in earlier work, the ensuing system turned out not to be more complex, except for the notion of duality, which needed to be extended, to correctly deal with bounded polymorphism, and to capture the new notion of selection. The paper contains an example, informal explanations, a formal description of the operational semantics and of type system, and a proof of subject reduction.
DOI: --
发表时间: 2006-07
期刊: --
影响因子: --
作者:
Dave A. Thomas
通讯作者: Dave A. Thomas
DOI: 10.1016/j.entcs.2006.12.041
发表时间: 2007-06-14
影响因子: --
作者:
Carbone, Marco;Honda, Kohei;Yoshida, Nobuko
通讯作者: Yoshida, Nobuko