计算机科学 > 程序设计语言
[提交于 2020年5月28日]
标题:Sound Regular Corecursion in coFJ
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The aim of the paper is to provide solid foundations for a programming paradigm natively supporting the creation and manipulation of cyclic data structures. To this end, we describe coFJ, a Java-like calculus where objects can be infinite and methods are equipped with a codefinition (an alternative body). We provide an abstract semantics of the calculus based on the framework of inference systems with corules. In coFJ with this semantics, FJ recursive methods on finite objects can be extended to infinite objects as well, and behave as desired by the programmer, by specifying a codefinition. We also describe an operational semantics which can be directly implemented in a programming language, and prove the soundness of such semantics with respect to the abstract one.
提交历史
来自:Pietro Barbieri[v1] 2020年5月28日 星期四 15:27:44 UTC