A scheme for implementing functional values on a stack machine

  • Authors:
  • M. P. Georgeff

  • Affiliations:
  • -

  • Venue:
  • LFP '82 Proceedings of the 1982 ACM symposium on LISP and functional programming
  • Year:
  • 1982

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we describe a relatively simple method for handling partial application and function valued expressions in applicative (functional) programming languages. In essence, the approach defers evaluation of function valued expressions until sufficient arguments have been accumulated to reduce the expression to a basic (non-functional) value. This results in a stack-like environment structure, and thus obviates the need for the more complex environment management schemes used for the tree-like environment structures created by standard evaluators.