| Gerunds and representations |
| Full text |
Pdf
(529 KB)
|
| Source
|
International Conference on APL
archive
Proceedings of the international conference on APL '91
table of contents
Palo Alto, California, United States
Pages: 39 - 46
Year of Publication: 1991
ISBN:0-89791-441-4
Also published in ...
|
|
Authors
|
|
Robert Bernecky
|
Snake Island Research Inc., 18 Fifth Street, Ward's Island, Toronto, Ontario M5J 2B9, Canada
|
|
Roger K. W. Hui
|
Iverson Software Inc., 33 Major Street, Toronto, Ontario M5S 2K9, Canada
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 0, Downloads (12 Months): 15, Citation Count: 12
|
|
|
ABSTRACT
Gerunds, verbal forms that can be used as nouns, are recognized as having utility in the realm of programming languages. We show that gerunds can be viewed as arrays of atomic representations of verbs (functions), in a way which is consistent with the syntax and semantics of APL, and which allows verbs to be first class objects in the language. We define derivations of verbs from gerunds in the J dialect of APL, and show how these derivations provide control structures for sequencing, selection (in the sense of generalized forms of CASE or SWITCH statements and IF/THEN/ELSE), iteration (DO UNTIL), recursion, and parallel computation (MIMD, or Multiple Instruction, Multiple Data). We conclude with alternative representations of verbs which are useful in other contexts.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Robert Bernecky, Greg Bezoff, and Michael Symes, APL Workspace Transfer, Sharp APL Technical Note 22, Revision 4, (1981-07-15).
|
 |
2
|
|
 |
3
|
|
| |
4
|
Dana E. Cartwright, "Workspace Interchange Convention", APL Quote-Quad, (December 1977).
|
 |
5
|
|
| |
6
|
M. J. Flynn, "Very high-speed computers", Proceedings of the IEEE, Vol. 54, pp. 1901-1909, (December 1966).
|
 |
7
|
|
| |
8
|
APL2 Programming: Language Reference, IBM Corporation, pp. 427-429, SH20-9227, (1987).
|
| |
9
|
International Standard for Programming Language APL, ISO 8485, (1984).
|
 |
10
|
|
 |
11
|
|
| |
12
|
K. E. Iverson, "J", Vector, Volume 7, Number 1, (August 1990).
|
| |
13
|
K.E. Iverson, Tangible Math and the ISI Dictionary of J, Iverson Software Inc., Toronto, (1990-10-06).
|
| |
14
|
K. E. Iverson, "The Dictionary of J", Vector, Volume 7, Number 2, (October 1990).
|
 |
15
|
|
 |
16
|
|
| |
17
|
David B. Piper, "Semantic Class and Arrays of Functions", Vector, Volume 6, Number 1, (July 1989).
|
|