Adding a modern control structure to APL without changing the syntax
暂无分享,去创建一个
In the paper it is demonstrated how through the use of appropriately named defined functions and labels practically all modern control construct types can be introduced into APL, thus greatly enhancing the possibilities of writing understandable and well-structured APL programs. A technique is developed which allows the nesting of these control constructs to any arbitrary depth. A solution is presented which even allows to write coroutines in APL, hence providing a whole new scope of APL programming.
[1] A. L. Lim,et al. Towards Structured Programs in APL , 1975, Comput. J..
[2] Robert A. Kelley. APLGOL, an Experimental Structured Programming Language , 1973, IBM J. Res. Dev..
[3] C. A. R. Hoare,et al. Algorithm 64: Quicksort , 1961, Commun. ACM.
[4] Philip S. Abrams. What's wrong with APL? , 1975, APL '75.