arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2204.07454cs.PLcs.LO
收藏

形式化$φ$ -演算:装饰对象的纯面向对象演算

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

Nikolai Kudasov, Violetta Sim

摘要:

存在许多演算用于对面向对象语言的各种特性进行建模。它们中的许多都是基于$λ$ -演算的,并且专注于基于静态类型的类语言或基于动态原型的语言。我们正式的装饰对象,非正式地提出了Bugayenko,这是定义在对象和依赖于装饰作为一个主要的机制对象扩展的无类型演算。它不是基于$λ$ -演算,但只有四个基本的语法结构是一样完整的。我们证明了演算是合流的(即具有Church-Rosser性质),并介绍了一个抽象的机器调用的名称评估。最后,我们提供了一个健全的翻译$λ$ -演算记录。

英文摘要:

Many calculi exist for modelling various features of object-oriented languages. Many of them are based on $λ$-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 $λ$-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 $λ$-calculus with records.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑