Recursive data structures in APL
W. E. Gull, Michael A. Jenkins · Communications of the ACM · 1979
A mathematical study of three approaches for defining nested arrays in APL is presented. Theorems exhibiting the relationships between the definitional systems are given and illustrated through graph representations. One of the approaches is used to define an APL array to be a recursive data structure equivalent to a tree structure in which all data is stored at the leaves as homogeneous arrays of numbers and characters. An extension of APL is proposed that includes new primitive functions to manipulate the nesting level of arrays and new operators to assist in the construction of data-driven algorithms.
Cited by 38 works. doi:10.1145/359060.359067 Open-access PDF
Authors
References
- A programming language
- The next 700 programming languages
- A formal description of SYSTEM/360
- The SNOBOL 4 Programming Language
- Recursive data structures
- Language design methods based on semantic principles
- The Design of APL
- The SNOBOL 4 programming language
- General Arrays, Operators and Functions
- Axioms and Theorems for a Theory of Arrays