Operators for program control

  • Authors:
  • Edward V. Eusebi

  • Affiliations:
  • IBM Santa Teresa Labs, 555 Bailey Ave, San Jose, California

  • Venue:
  • APL '85 Proceedings of the international conference on APL: APL and the future
  • Year:
  • 1985

Quantified Score

Hi-index 0.00

Visualization

Abstract

Structured programming constructs such as if-then-else and do-while have traditionally been used to give a natural flow to programs written in one of the ALGOL-like languages. Languages with a functional basis, such as APL and LISP, provide (and are characterized by) alternative means of controlling the flow of expression. These include function modularity, the application of functions across data structures, the use of data structures to control program flow, and the mapping of operations across data and across other operations.In APL2, the use of these methods has been enhanced by the generalization of APL data structures, the addition of the primitive operator Each(″), and the ability to define operators. This paper will examine ways in which these features may be used to give a non-procedural look to APL2 functions.