file.pdf (314.33 kB)
Download file

Featherweight Typestate (CMU-ISR-10-115)

Download (314.33 kB)
journal contribution
posted on 01.07.2010, 00:00 by Ronald Garcia, Roger Wolff, Eric Tanter, Jonathan Aldrich

Typestate oriented programming integrates notions of typestate directly into the semantics of an object-oriented programming language. This document presents the formalization of Featherweight Typestate, a typestate oriented language modeled after Featherweight Java. This language supports a classes-as-states model of typestates, and utilizes a flow-sensitive type system for checking access permissions and state guarantees, thereby enabling safe and modular typestate checking. The syntax and both static and dynamic semantics of Featherweight Typestate are presented, as well as a proof of type safety




Usage metrics