Repository logo
 
Publication

API Generation for Multiparty Session Types, Revisited and Revised Using Scala 3

dc.contributor.authorCledou, Guillermina
dc.contributor.authorEdixhoven, Luc
dc.contributor.authorJongmans, Sung Shik
dc.contributor.authorProenca, José
dc.date.accessioned2022-06-22T12:55:27Z
dc.date.available2022-06-22T12:55:27Z
dc.date.issued2022-06-06
dc.description.abstractConstruction and analysis of distributed systems is difficult. Multiparty session types (MPST) constitute a method to make it easier. The idea is to use type checking to statically prove deadlock freedom and protocol compliance of communicating processes. In practice, the premier approach to apply the MPST method in combination with mainstream programming languages has been based on API generation. In this paper (pearl), we revisit and revise this approach. Regarding our "revisitation", using Scala 3, we present the existing API generation approach, which is based on deterministic finite automata (DFA), in terms of both the existing states-as-classes encoding of DFAs as APIs, and a new states-as-type-parameters encoding; the latter leverages match types in Scala 3. Regarding our "revision", also using Scala 3, we present a new API generation approach that is based on sets of pomsets instead of DFAs; it crucially leverages match types, too. Our fresh perspective allows us to avoid two forms of combinatorial explosion resulting from implementing concurrent subprotocols in the DFA-based approach. We implement our approach in a new API generation tool.pt_PT
dc.description.sponsorshipFunding G. Cledou and J. Proença: European Regional Development Fund (ERDF), Operational Programme for Competitiveness and Internationalisation (COMPETE 2020): POCI-01-0145-FEDER029946 (DaVinci). S. Jongmans: Netherlands Organisation of Scientific Research: 016.Veni.192.103. J. Proença: Fundação para a Ciência e a Tecnologia (FCT), within the CISTER Research Unit: UIDP/UIDB/04234/2020. ERDF and FCT, Portugal 2020 Partnership Agreement, Norte Portugal Regional Operational Programme (NORTE 2020): NORTE-01-0145-FEDER-028550 (REASSURE). ECSEL Joint Undertaking (JU): grant agreement No 876852 (VALU3S).pt_PT
dc.description.versioninfo:eu-repo/semantics/publishedVersionpt_PT
dc.identifier.urihttp://hdl.handle.net/10400.22/20633
dc.language.isoengpt_PT
dc.relationPOCI-01-0145-FEDER029946pt_PT
dc.relationUIDP/UIDB/04234/2020pt_PT
dc.relationNORTE-01-0145-FEDER-028550pt_PT
dc.relationVerification and Validation of Automated Systems' Safety and Security
dc.rights.urihttp://creativecommons.org/licenses/by-nc/4.0/pt_PT
dc.subjectConcurrencypt_PT
dc.subjectPomsets (partially ordered multisets)pt_PT
dc.subjectMatch typespt_PT
dc.subjectScala 3pt_PT
dc.titleAPI Generation for Multiparty Session Types, Revisited and Revised Using Scala 3pt_PT
dc.title.alternative220505pt_PT
dc.typejournal article
dspace.entity.typePublication
oaire.awardTitleVerification and Validation of Automated Systems' Safety and Security
oaire.awardURIinfo:eu-repo/grantAgreement/EC/H2020/876852/EU
oaire.citation.title36th European Conference on Object-Oriented Programming (ECOOP 2022)pt_PT
oaire.fundingStreamH2020
person.familyNameProenca
person.givenNameJose
person.identifier.ciencia-id2412-FE81-2767
person.identifier.orcid0000-0003-0971-8919
person.identifier.ridK-4256-2016
person.identifier.scopus-author-id24067286500
project.funder.identifierhttp://doi.org/10.13039/501100008530
project.funder.nameEuropean Commission
rcaap.rightsopenAccesspt_PT
rcaap.typearticlept_PT
relation.isAuthorOfPublicationa9b67049-85ec-485a-a937-334ba113f087
relation.isAuthorOfPublication.latestForDiscoverya9b67049-85ec-485a-a937-334ba113f087
relation.isProjectOfPublication1b3082bd-64c8-41d8-9f32-bb7f4b0d7bde
relation.isProjectOfPublication.latestForDiscovery1b3082bd-64c8-41d8-9f32-bb7f4b0d7bde

Files

Original bundle
Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
ART_CISTER-TR-220505_2022.pdf
Size:
709.7 KB
Format:
Adobe Portable Document Format
No Thumbnail Available
Name:
license.txt
Size:
1.74 KB
Format:
Item-specific license agreed upon to submission