paperbot · PL 论文追踪

RSS

The Chemical Approach to Typestate-Oriented Programming

TOPLAS 39(3)2017引用 10
Silvia Crafa, Luca Padovani

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

We introduce a novel approach to typestate-oriented programming based on the chemical metaphor: state and operations on objects are molecules of messages, and state transformations are chemical reactions. This approach allows us to investigate typestate in an inherently concurrent setting, whereby objects can be accessed and modified concurrently by several processes, each potentially changing only part of their state. We introduce a simple behavioral type theory to express in a uniform way both the private and the public interfaces of objects; describe and enforce structured object protocols consisting of possibilities, prohibitions, and obligations; and control object sharing.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{CrafaP17,
  title = {The Chemical Approach to Typestate-Oriented Programming},
  author = {Silvia Crafa and Luca Padovani},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {39},
  number = {3},
  year = {2017},
  doi = {10.1145/3064849}
}