English

Formalizing $\varphi$-calculus: a purely object-oriented calculus of decorated objects

Programming Languages 2022-12-05 v2 Logic in Computer Science

Abstract

Many calculi exist for modelling various features of object-oriented languages. Many of them are based on λ\lambda-calculus and focus either on statically typed class-based languages or dynamic prototype-based languages. We formalize untyped calculus of decorated objects, informally presented by Bugayenko, which is defined in terms of objects and relies on decoration as a primary mechanism of object extension. It is not based on λ\lambda-calculus, yet with only four basic syntactic constructions is just as complete. We prove the calculus is confluent (i.e. possesses Church-Rosser property), and introduce an abstract machine for call-by-name evaluation. Finally, we provide a sound translation to λ\lambda-calculus with records.

Keywords

Cite

@article{arxiv.2204.07454,
  title  = {Formalizing $\varphi$-calculus: a purely object-oriented calculus of decorated objects},
  author = {Nikolai Kudasov and Violetta Sim},
  journal= {arXiv preprint arXiv:2204.07454},
  year   = {2022}
}
R2 v1 2026-06-24T10:49:10.027Z