2020
DOI: 10.1007/978-3-030-50086-3_12
|View full text |Cite
|
Sign up to set email alerts
|

Typechecking Java Protocols with [St]Mungo

Abstract: This is a tutorial paper on [St]Mungo, a toolchain based on multiparty session types and their connection to typestates for safe distributed programming in Java language. The StMungo ("Scribble-to-Mungo") tool is a bridge between multiparty session types and typestates. StMungo translates a communication protocol, namely a sequence of sends and receives of messages, given as a multiparty session type in the Scribble language, into a typestate specification and a Java API skeleton. The generated API skeleton is… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
9
0

Year Published

2020
2020
2023
2023

Publication Types

Select...
4
3

Relationship

1
6

Authors

Journals

citations
Cited by 10 publications
(9 citation statements)
references
References 40 publications
0
9
0
Order By: Relevance
“…This is different from the previous implementations of the Mungo tool. In the original implementation [6,21,22,37] the tool infers the typestate of objects in the program and then checks that this respects the typestate defined for the classes. Since that version of the Mungo tool requires a linear treatment of references, the tool works similar to a classic type system for object-oriented language where each class is checked in isolation.…”
Section: Methodsmentioning
confidence: 99%
See 1 more Smart Citation
“…This is different from the previous implementations of the Mungo tool. In the original implementation [6,21,22,37] the tool infers the typestate of objects in the program and then checks that this respects the typestate defined for the classes. Since that version of the Mungo tool requires a linear treatment of references, the tool works similar to a classic type system for object-oriented language where each class is checked in isolation.…”
Section: Methodsmentioning
confidence: 99%
“…We introduce an object-oriented calculus with classes and enumeration types, similar to previous work on Mungo [3,6,21,22,37].…”
Section: The Languagementioning
confidence: 99%
“…We use the enumeration to represent the non-deterministic nature of the transition [12], as well as force the user to match against both cases. This enumeration has a few rules; all variants must be of Unit type 13 , and they must also share their identifier with an existing state.…”
Section: Advanced Featuresmentioning
confidence: 99%
“…The Mungo project [8,13], comprises several pieces which work towards a common and bigger goal, allowing developers to make use of typestates in languages such as Java.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation