article
Free Access

Blocks and procedures

Published:01 November 1993Publication History
Skip Abstract Section

Abstract

Mössenböck proposes the argument block as a language construct for using statement sequences as arguments for procedures [Mös92]. Such a construct enables users to define their own control structures. Mössenböck is inspired by SMALLTALK-80 [GR83] and claims that most languages lack support of argument blocks but does not take into account a quality which in practice is crucial to their utilization. Stolz [Sto93] therefore falsely concludes the equivalence of argument blocks and anonymous procedures and points out that anonymous procedures were already supported in ALGOL 68 [vWMP+76]. We show the difference between blocks and procedures and describe implementation patterns which are taken under consideration for the programming language ARISTARCH/L. ARISTARCH/L is supposed to support the distributed operating system ARISTARCH/OS which is under development in SAMOS, a project undertaken by the Operating Systems Research Group at the University of Karlsruhe.

References

  1. [ALSS77] R. P. ATKINSON, B. H. LISKOV, C. SCHAFFERT, AND A. SNYDER. Abstraction mechanisms in CLU. Communications of the ACM, 20(8): 564-576, August 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. [Ame83] AMERICAN NATIONAL STANDARDS INSTITUTE, INC., Washington, Washington, D.C. The Programming Language ADA, Reference Manual ANSI/MIL-STD-1815A-1983, February 1983.Google ScholarGoogle Scholar
  3. [CDG+92] L. CARDELLI, J. DONAHUE, L. GLASSMAN, M. JORDAN, B. KALSOW, AND G. NELSON. MODULA-3 language definition. ACM SIGPLAN Notices, 27(8): 15-42, August 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. [ES90] M. A. ELLIS AND B. STROUSTRUP. The Annotated C++ Reference Manual. Addison-Wesley, Reading, Massachusetts, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. [FL88] C. N. FISCHER AND R. J. LEBLANC, JR. Crafting a Compiler, ch. 12, pp. 454-460. Series in Computer Science. Benjamin/Cummings, Menlo Park, California, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. [GR83] A. GOLDBERG AND D. ROBSON. SMALLTALK-80: The Language and its Implementation. Addison-Wesley, Reading, Massachusetts, 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. [KR88] B. W. KERNIGHAN AND D. M. RITCHIE. The C Programming Language. Software Series. Prentice Hall, Englewood Cliffs, New Jersey, second edition, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. [LS79] B. H. LISKOV AND A. SNYDER. Exception handling in CLU. IEEE Transactions on Software Engineering, SE-5(6): 546-558, November 1979.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. [Mös92] H. MÖSSENBÖCK. Treating statement sequences as block objects. ACM SIGPLAN Notices, 27(8): 83-86, August 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. [Sto93] O. STOLZ. Anonymous routine-texts: An orthogonal approach to block objects. ACM SIGPLAN Notices, 28(4): 45-48, April 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. [vWMP+76] A. v. WIJNGAARDEN, B. J. MAILLOUX, J. E. L. PECK, C. H. A. KOSTER, M. SINTZOFF, C. H. LINDSEY, L. G. L. T. MEERTENS, AND R. G. FISKER, EDS. Revised Report on the Algorithmic Language ALGOL 68. Springer-Verlag, Berlin, 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. [Wir88a] N. WIRTH. Programming in MODULA-2. Springer-Verlag, Heidelberg, fourth edition, 1988.Google ScholarGoogle Scholar
  13. [Wir88b] N. WIRTH. The programming language OBERON. Software-Practice and Experience, 18(7): 671-690, July 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Blocks and procedures

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image ACM SIGPLAN Notices
      ACM SIGPLAN Notices  Volume 28, Issue 11
      Nov. 1993
      54 pages
      ISSN:0362-1340
      EISSN:1558-1160
      DOI:10.1145/165564
      Issue’s Table of Contents

      Copyright © 1993 Authors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 1 November 1993

      Check for updates

      Qualifiers

      • article
    • Article Metrics

      • Downloads (Last 12 months)13
      • Downloads (Last 6 weeks)2

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader
    About Cookies On This Site

    We use cookies to ensure that we give you the best experience on our website.

    Learn more

    Got it!