[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/800142.805345acmconferencesArticle/Chapter ViewAbstractPublication PagesaplConference Proceedingsconference-collections
Article
Free access

Parsing and evaluation of APL with operators

Published: 01 September 1981 Publication History

Abstract

The importance of operators in APL is now well recognised, and considerable attention has been paid to the inclusion of more general operators into the language. In this article we consider some of the consequences for the implementation of interpreters and compilers for APL.
We first consider the difficulties that arise with the introduction of function valued and basic valued operators. We then discuss various modifications to the syntactic and semantic structure of APL that serve to avoid these difficulties. Abstraction operators as in the lambda calculus are also introduced. Finally, we describe an abstract machine for interpreting APL-like expressions which is analogous to the SECD machine used in the lambda calculus.

References

[1]
Aho, A.V. and Ullman, J.D. (1969), "Syntax Directed Translations and the Pushdown Assembler", J. Comp. and System Sci., 3, pp. 37-56.
[2]
Burge, W.H. (1975), "Recursive Programming Techniques", Addison-Wesley, Mass.
[3]
Georgeff, M.P., Fris, I., & Kautsky, J. (1981), "The Effect of Operators on Parsing and Evaluation in APL", Computer Languages, 6, No. 2.
[4]
Iverson, K.E. (1979a), "The Role of Operators in APL", APL Quote Quad, 9, No. 4, pp. 128-133.
[5]
Iverson, K.E. (1979b), "The Derivative Operator", APL Quote Quad, 9, No. 4, pp. 347-354.
[6]
Iverson, K.E. (1979c), "Operators", ACM Trans. on Prog. Langs. and Systems, 1, No. 2, pp. 161-176.
[7]
Keenan, D.J. (1979), "Operators and Uniform Forms", APL Quote Quad, 9, No. 4, pp. 355-361.
[8]
Landin, P.J. (1964), "The Mechanical Evaluation of Expressions", Computer J. 6. No. 4, pp. 308-320.
[9]
Strawn, G.O. (1977), "Does APL Really Need Run-time Parsing", Software - practice and experience, 7, pp. 193-200.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
APL '81: Proceedings of the international conference on APL
October 1981
354 pages
ISBN:0897910354
DOI:10.1145/800142

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 1981

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)89
  • Downloads (Last 6 weeks)17
Reflects downloads up to 15 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media