计算机科学 > 程序设计语言
[提交于 2022年4月15日]
标题:Formalizing $\varphi$-calculus: a purely object-oriented calculus of decorated objects
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Nikolai Kudasov[v1] 2022年4月15日 星期五 13:25:01 UTC