Structured APL: a proposal for block structured control flow in APL

  • Authors:
  • Robert G. Willhoft

  • Affiliations:
  • -

  • Venue:
  • APL '93 Proceedings of the international conference on APL
  • Year:
  • 1993

Quantified Score

Hi-index 0.01

Visualization

Abstract

APL, although a very powerful language, has failed to gain wide acceptance in part due to its lack of control structures. A proposal is made for introducing structure in APL objects by adding to the items that can be located on the left of the colon (:). These markers show the beginning and ends of blocks of code and allow for selection, iteration, and termination. The set of control structures is shown to be robust by showing their use in the creation of traditional control structures. A method of conversion to ISO APL is also presented.This paper briefly discusses proposals that have been made in the past along with an evaluation of their merits and shortcomings. The paper ends with a discussion of related issues, including elimination of branching, introduction of definition blocks, and lexical scoping in APL. Several areas for continuing work are given.