Removing partial parametrization for efficient implementation of functional languages

  • Authors:
  • Husheng Liao

  • Affiliations:
  • Department of Software Engineering, Beijing Computer Institute, No. 24 Xi-San-Huan-Bei Road, Beijing, People's Republic of China

  • Venue:
  • Computer Languages
  • Year:
  • 1992

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes a program transformation technique for functional languages called removing partial parametrization. By transforming functional programs into equivalent ones without partial parametrization, each function is applied to the same number of arguments as its formal parameters. A new method of improving the efficiency of the implementation of functional language is to design the compiler according to the features of the program without partial parametrization. We have used this method in the environment-based implementation of the functional programming language LK. Programs run considerably faster and consume less memory space than traditional ones.