Restructuring of APL functions

A. Arroyo
{"title":"Restructuring of APL functions","authors":"A. Arroyo","doi":"10.1145/503643.503660","DOIUrl":null,"url":null,"abstract":"The philosophy and style that has come to be known as \"structured programmlng\" emphasizes great concern with the manner in which a program is organized [1]. It implies that some program constructions are more effective than others, even though both might yield identical results. In many software applications, human efficiency (which might be related to such things as the ability to read, alter and understand programs) is more important than computer efficiency (which includes less memory space and/or execution time).In APL, branching is generally used within a defined function to direct the execution of commands. It is denoted by the symbol → followed by an expression E: →E. Since the value of E, the expression to the right of the branch arrow, may be scalar or vector, the form the branch command takes is a function of the ability of the programmer. A suitable standard form for the branch command is desirable and feasible.For the purposes of this discussion, the \"branch to specified line number or execute next line\": form of the branch command is selected as the standard form. It is entirely feasible to perform branch standardization automatically and still preserve the meaning of the original function. This paper describes such an approach.","PeriodicalId":166583,"journal":{"name":"Proceedings of the 16th annual Southeast regional conference","volume":"2016 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1978-04-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 16th annual Southeast regional conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/503643.503660","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The philosophy and style that has come to be known as "structured programmlng" emphasizes great concern with the manner in which a program is organized [1]. It implies that some program constructions are more effective than others, even though both might yield identical results. In many software applications, human efficiency (which might be related to such things as the ability to read, alter and understand programs) is more important than computer efficiency (which includes less memory space and/or execution time).In APL, branching is generally used within a defined function to direct the execution of commands. It is denoted by the symbol → followed by an expression E: →E. Since the value of E, the expression to the right of the branch arrow, may be scalar or vector, the form the branch command takes is a function of the ability of the programmer. A suitable standard form for the branch command is desirable and feasible.For the purposes of this discussion, the "branch to specified line number or execute next line": form of the branch command is selected as the standard form. It is entirely feasible to perform branch standardization automatically and still preserve the meaning of the original function. This paper describes such an approach.
APL功能的重构
被称为“结构化编程”的哲学和风格强调了对程序组织方式的极大关注[1]。这意味着某些程序结构比其他程序更有效,即使它们可能产生相同的结果。在许多软件应用程序中,人的效率(可能与阅读、修改和理解程序的能力有关)比计算机的效率(包括更少的内存空间和/或执行时间)更重要。在APL中,分支通常在定义的函数中使用,以指导命令的执行。它由符号→后跟表达式E表示:→E。由于分支箭头右侧的表达式E的值可以是标量或矢量,分支命令所采用的形式是程序员能力的函数。一个合适的标准形式的分支命令是可取的和可行的。出于本讨论的目的,选择分支命令的“分支到指定行号或执行下一行”形式作为标准形式。自动执行分支标准化并保留原功能的含义是完全可行的。本文描述了这样一种方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信