Recursive definitions for iterative algorithms

  • Authors:
  • Theodore D. Lassagne

  • Affiliations:
  • Defense Communications Agency, Washington, D. C.

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1975

Quantified Score

Hi-index 0.00

Visualization

Abstract

Since higher level languages first appeared, computerpractitioners have been seeking a language which will permit themto define an algorithm to a computer without unnecessaryspecification of the sequence in which actions are to be carriedout. Recursive definitions meet this requirement, but a majorobstacle to their wider adoption has been the fact that so many ofour algorithms are iterative in nature, and it typically has notbeen easy to convert an iterative atgorithm to one in recursivedefinition form.However, if we look at recursive definitions from a somewhatbroader viewpoint and introduce the technique of "mu-recursion",then iterative algorithms can be expressed fairly naturally inrecursive form. This capability opens up possibilities for apractical recurstve definition language useful for a wide range ofcomputational tasks. Therefore, in addition to demonstrating how towrite practical algorithms with recursive definitions, we willdiscuss the prospects for a practical language and its compilation.Also covered briefly will be proof techniques and suggestions forfurther research.