Towards a Calculus of Object Programs

arXiv:1107.1999 First posted 2011-07-11 v2 Cited by 5
Cite this paper ×
BibTeX
@misc{meyer2011towards,
  title = {Towards a Calculus of Object Programs},
  author = {Bertrand Meyer},
  year = {2011},
  eprint = {1107.1999},
  archivePrefix = {arXiv},
  primaryClass = {cs.SE},
  url = {https://arxiv.org/abs/1107.1999}
}
APA
Meyer, B. (2011). Towards a Calculus of Object Programs [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1107.1999
GB/T 7714
MEYER B. Towards a Calculus of Object Programs[EB/OL]. (2011-07-11)[2026-11-29]. https://arxiv.org/abs/1107.1999.

Abstract

Verifying properties of object-oriented software requires a method for handling references in a simple and intuitive way, closely related to how O-O programmers reason about their programs. The method presented here, a Calculus of Object Programs, combines four components: compositional logic, a framework for describing program semantics and proving program properties; negative variables to address the specifics of O-O programming, in particular qualified calls; the alias calculus, which determines whether reference expressions can ever have the same value; and the calculus of object structures, a specification technique for the structures that arise during the execution of an object-oriented program. The article illustrates the Calculus by proving the standard algorithm for reversing a linked list.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!