Nested Protocols in Session Types
Nested Protocols in Session Types
复制标题
会话类型中的嵌套协议
DOI:
--
复制
发表时间:
2012
期刊:
影响因子:
--
通讯作者:
Kohei Honda
中科院分区:
文献类型:
--
作者:
R. Demangeon;Kohei Honda
We propose an improvement to session-types, introducing nested protocols, the possibility to call a subprotocol from a parent protocol. This feature adds expressiveness and modularity to the existing session-type theory, allowing arguments to be passed and enabling higher-order protocols definition. Our theory is introduced through a new type system for protocols handling subprotocol calls, and its implementation in a session-calculus. We propose validation and satisfaction relations between specification and implementation. Sound behaviour is enforced thanks to the usage of kinds and well-formedness, allowing us to ensure progress and subject reduction. In addition, we describe an extension of our framework allowing subprotocols to send back results.