Proceedings of the 4th Workshop on MechAnisms for SPEcialization, Generalization and inHerItance 2010
DOI: 10.1145/1929999.1930003
|View full text |Cite
|
Sign up to set email alerts
|

Modular composition and state update in Plaid

Abstract: At the core of the Plaid typestate-oriented programming language is the ability to change the representation of an object at run-time. As such, the semantics of the state change operation impact how Plaid programs are structured and how objects are composed in Plaid's trait-based composition system. We describe the challenges with respect to designing a modular state change operation and suggest two options. Secondly, we explore the issues both designs create for explicit conflict resolution and sketch a poten… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
2
0

Year Published

2011
2011
2011
2011

Publication Types

Select...
1
1

Relationship

2
0

Authors

Journals

citations
Cited by 2 publications
(2 citation statements)
references
References 22 publications
0
2
0
Order By: Relevance
“…While we recap the motivation and concept of the language from this earlier work, that paper described an unimplemented language, and neither defined the language semantics nor investigated the modeling of complex state spaces, which are the key contributions of this paper. In an earlier 4-page workshop paper, we explored the need for a modular state change operator that affects only one dimension of state change at a time [2]; this paper gives the semantics for a concrete solution to that problem. Other recent work has begun to explore a gradual, permission-based type system for Plaid [29].…”
Section: Background and Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…While we recap the motivation and concept of the language from this earlier work, that paper described an unimplemented language, and neither defined the language semantics nor investigated the modeling of complex state spaces, which are the key contributions of this paper. In an earlier 4-page workshop paper, we explored the need for a modular state change operator that affects only one dimension of state change at a time [2]; this paper gives the semantics for a concrete solution to that problem. Other recent work has begun to explore a gradual, permission-based type system for Plaid [29].…”
Section: Background and Related Workmentioning
confidence: 99%
“…Thus, when we transition from an ClosedFile to an OpenFile the members of the File state should remain constant. This is the semantics behind the restricted update semantics of state change described in [2]. We use and extend these semantics in a natural way to account for our hierarchical object model.…”
Section: State Updatementioning
confidence: 99%