ABSTRACT
This paper describes the design of a hybrid language which combines the features of an array processing language and lisp dialect in a consistent and useful manner. This language, APROL (Array PROcessing Lisp) is derived from the J dialect of APL and the Scheme dialect of Lisp. The base syntactic structure is taken from Scheme, while the array processing features are based on the J programming language. A prototype implementation has been made and some experiences with this implementation are described. This implementation uses J as an imbedded array processing engine in a Scheme intrepreter/compiler.The language as specified provides a set of data types and manipulation tools which is more diverse than found in either Scheme or J. APROL allows the programmer to apply array processing functions to lists of arrays in the Scheme style and list processing functions to arrays of lists in typical J style. The result is a language which not only brings array processing capabilities to Scheme, but also significantly extends the functionality of the Scheme language.
- CHUR59.Church, Alonzo. 1959. The Calculi of Lambda-Conversion. Annals of Mathematics Studies. Princeton: Princeton University Press, 1941; reprint, Ann Arbor: University Microfilms, Inc. Google ScholarDigital Library
- CLIN91.Clinger, William and Jonathan Rees, eds. 1991. Revised4 Report on the Algorithmic Language Scheme. LISP Pointers 4 (July- September): 1-55. Google ScholarDigital Library
- GAMB20.Gambit Scheme 2.0. Marc Feeley, Montreal, Quebec.Google Scholar
- HOWL91.Howland, John E. 1991. Proposal for research project in Array Processing Lisp. Trinity University, San Antonio, Texas.Google Scholar
- HUI92.Hui, Roger K. W. 1992. An Implementation of j. Toronto: Iverson Software Inc.Google Scholar
- IVER91A.Iverson, Kenneth E. 1991. Programming in J. Toronto: Iverson Software Inc.Google Scholar
- IVER91B.iverson, Kenneth E. 1991. The ISI Dictionary of J. Appendix to Programming in J. Toronto: Iverson Software Inc.Google Scholar
- J3.J 3.4. Iverson Software Inc., Toronto, Ontario.Google Scholar
- J62.J-Source Version 6.2. Iverson Software Inc., Toronto, Ontario.Google Scholar
- SPRI89.Springer, George and Daniel P. Friedman. 1989. Scheme and the Art of Programming. New York" McGraw-Hill Book Company. Google ScholarDigital Library
Index Terms
- APROL: a hybrid language
Recommendations
APROL: a hybrid language
This paper describes the design of a hybrid language which combines the features of an array processing language and lisp dialect in a consistent and useful manner. This language, APROL (Array PROcessing Lisp) is derived from the J dialect of APL and ...
Layout-sensitive language extensibility with SugarHaskell
Haskell '12: Proceedings of the 2012 Haskell SymposiumProgrammers need convenient syntax to write elegant and concise programs. Consequently, the Haskell standard provides syntactic sugar for some scenarios (e.g., do notation for monadic code), authors of Haskell compilers provide syntactic sugar for more ...
Layout-sensitive language extensibility with SugarHaskell
Haskell '12Programmers need convenient syntax to write elegant and concise programs. Consequently, the Haskell standard provides syntactic sugar for some scenarios (e.g., do notation for monadic code), authors of Haskell compilers provide syntactic sugar for more ...
Comments