Abstract
This paper considers the semantics of coroutines and processes in block structured languages; in particular, the problem of existence of static and dynamic environments. It is shown that a definition of inaccessible module instances may result in an inconsistent meaning of some operations. Both an Algol-like language and a SIMULA-like language, (with pointers yet without coroutines), are proven to have well-defined semantics. The examples provided in this paper show that some coroutine and concurrent operations may, however, destroy the static environment.
Preview
Unable to display preview. Download preview PDF.
Bibliography
Bartol, W. M., Kreczmar, A., Lao, M., Litwiniuk, A., Muldner, T., Oktaba, H., Salwicki, A., Szczepanska-Wasersztrum, D., Report on the Programming Language Loglan 79. Internal Report, University of Warsaw.
Bartol, W. M., Kreczmar, A., Litwiniuk, A., Oktaba, H., Semantics and Implementation of Prefixing at many Levels. IInf UW Report NR 94 Institute of Informatics, University of Warsaw.
Berry, D. M., Block Structure: Retention vs. Deletion. Proc. Third Symposium on Theory of Computation, 1971, The MIT Press, 1979.
Bobrow, D. G., Wegbreit, B., A Model and Stack Implementation of Multiple Environments. BBN Report 2334, 1972.
Brinch-Hansen, P., Operating System Principles. Prentice Hall, 1973.
Dahl, O. J., Myhrhaug, B., Nygaard, K., Common Base Language. NCC S-22, October, 1970.
Dahl, O. J., Wang, A., Coroutine Sequencing in a Block Structured Environment. BIT 1971, pp. 425–49.
Lindstrom, G., Soffa, M. L. Referencing and Retention in Block Structured Coroutines. ACM TOPLAS Vol. 3, N 3, July 1981.
Naur, P., (Ed.), Revised Report on the Algorithmic Language ALGOL 60. CACM 6, 1963, pp. 1–17.
Organick, E. I., Computer System Organization. The B5700/6700 Series. Academic Press 1973, New York.
Reference Manual for the ADA Programming Language, United States Depart. of Defense, July 1980.
Wegner, P., Programming Languages — Concepts and Research Directions. In: Research Directions in Software Technology, edited by P. Wegner.
Wirth, N., The Programming Language Pascal. Acta Informatica 1971, 1, pp. 35–63.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1982 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kreczmar, A., Müldner, T. (1982). Coroutines and processes in block structured languages. In: Cremers, A.B., Kriegel, HP. (eds) Theoretical Computer Science. Lecture Notes in Computer Science, vol 145. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0036484
Download citation
DOI: https://doi.org/10.1007/BFb0036484
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-11973-9
Online ISBN: 978-3-540-39421-1
eBook Packages: Springer Book Archive