Correct and optimal implementations of recursion in a simple programming language

作者:

Highlights:

摘要

The object of this paper is to study the mechanism of recursion in a simple, LISP-like programming language, where the only means of iteration is through recursion. The theory of computation developed in Scott [6] provides the framework of our study. We show how the implementations of recursion which deserve to be called “correct” can be characterized semantically, and demonstrate a general criterion for the correctness of an implementation. We then describe an implementation of recursion which is both correct and optimal in a general class of sequential languages, and therefore constitutes an attractive alternative to both “call-by-name” and “call-by-value”.

论文关键词:

论文评审过程:Received 16 July 1973, Available online 27 December 2007.

论文官网地址:https://doi.org/10.1016/S0022-0000(74)80048-6