Recursive Session Types Revisited
Session types model structured communication-based programming. In particular, binary session types for the pi-calculus describe communication between exactly two participants in a distributed scenario. Adding sessions to the pi-calculus means augmenting it with type and term constructs. In a previo...
Main Author: | |
---|---|
Format: | Article |
Language: | English |
Published: |
Open Publishing Association
2014-08-01
|
Series: | Electronic Proceedings in Theoretical Computer Science |
Online Access: | http://arxiv.org/pdf/1408.5980v1 |
id |
doaj-9196649e58c74fe0926799b169125494 |
---|---|
record_format |
Article |
spelling |
doaj-9196649e58c74fe0926799b1691254942020-11-24T22:40:03ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802014-08-01162Proc. BEAT 2014273410.4204/EPTCS.162.4:10Recursive Session Types RevisitedOrnela Dardha0 School of Computing Science, University of Glasgow Session types model structured communication-based programming. In particular, binary session types for the pi-calculus describe communication between exactly two participants in a distributed scenario. Adding sessions to the pi-calculus means augmenting it with type and term constructs. In a previous paper, we tried to understand to which extent the session constructs are more complex and expressive than the standard pi-calculus constructs. Thus, we presented an encoding of binary session pi-calculus to the standard typed pi-calculus by adopting linear and variant types and the continuation-passing principle. In the present paper, we focus on recursive session types and we present an encoding into recursive linear pi-calculus. This encoding is a conservative extension of the former in that it preserves the results therein obtained. Most importantly, it adopts a new treatment of the duality relation, which in the presence of recursive types has been proven to be quite challenging.http://arxiv.org/pdf/1408.5980v1 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Ornela Dardha |
spellingShingle |
Ornela Dardha Recursive Session Types Revisited Electronic Proceedings in Theoretical Computer Science |
author_facet |
Ornela Dardha |
author_sort |
Ornela Dardha |
title |
Recursive Session Types Revisited |
title_short |
Recursive Session Types Revisited |
title_full |
Recursive Session Types Revisited |
title_fullStr |
Recursive Session Types Revisited |
title_full_unstemmed |
Recursive Session Types Revisited |
title_sort |
recursive session types revisited |
publisher |
Open Publishing Association |
series |
Electronic Proceedings in Theoretical Computer Science |
issn |
2075-2180 |
publishDate |
2014-08-01 |
description |
Session types model structured communication-based programming. In particular, binary session types for the pi-calculus describe communication between exactly two participants in a distributed scenario. Adding sessions to the pi-calculus means augmenting it with type and term constructs. In a previous paper, we tried to understand to which extent the session constructs are more complex and expressive than the standard pi-calculus constructs. Thus, we presented an encoding of binary session pi-calculus to the standard typed pi-calculus by adopting linear and variant types and the continuation-passing principle. In the present paper, we focus on recursive session types and we present an encoding into recursive linear pi-calculus. This encoding is a conservative extension of the former in that it preserves the results therein obtained. Most importantly, it adopts a new treatment of the duality relation, which in the presence of recursive types has been proven to be quite challenging. |
url |
http://arxiv.org/pdf/1408.5980v1 |
work_keys_str_mv |
AT orneladardha recursivesessiontypesrevisited |
_version_ |
1725706039530094592 |