Skip to main content

Reflection in Oberon

  • Conference paper
  • First Online:
Book cover Modular Programming Languages (JMLC 1997)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1204))

Included in the following conference series:

Abstract

We introduce metaprogramming facilities into the Oberon V4 system. Metaprogramming means that a module can access the structure of other modules (i.e., procedures, types, run-time data) at run time. We discuss how type safety can be enforced in an environment with strong typing. Finally we show how metaprogramming can be used to implement an easy-to-use database interface and conclude with a comparison with other metaprogramming systems for statically-typed programming languages.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. G. Attardi et al.: Metalevel Programming in CLOS. Proceedings of the ECOOP'89 conference. Cambridge University Press, 1989.

    Google Scholar 

  2. S. Brandt, R.W. Schmidt: The Design of a Meta-Level Architecture for the BETA Language.

    Google Scholar 

  3. R. Crelier: OP2 — A portable Oberon compiler. Computer Science Report 125, ETH Zurich, 1990.

    Google Scholar 

  4. A. Goldberg, D. Robson: Smalltalk-80, the language and its implementation. Addison-Wesley, 1983.

    Google Scholar 

  5. M. Hof: Connecting Oberon. Johannes Kepler University Linz, System Software, Technical Report 7, April 1996.

    Google Scholar 

  6. G. Kiczales, J. Rivieres, D. Bobrow: The Art of the Metaobject Protocol. MIT Press, 1991.

    Google Scholar 

  7. M. Knasmüller: Adding Persistence to the Oberon System. Johannes Kepler University Linz, System Software, Technical Report 6, January 1996.

    Google Scholar 

  8. J. McCarthy: Recursive functions of symbolic expressions and their computation by a machine. Communications of the ACM 3 (4), 1960, 184–195.

    Google Scholar 

  9. O. Lehrmann-Madsen, B. Moller-Pedersen, K. Nygaard: Object-Oriented Programming in the BETA Programming Language. Addison-Wesley, 1993.

    Google Scholar 

  10. H. Mössenböck, K. Koskimies: Active Text for Structuring and Understanding Source Code. To appear in Software — Practice and Experience, 1996.

    Google Scholar 

  11. Microsoft Open Database Connectivity Software Development Kit Version 2.0, Microsoft Press, 1994.

    Google Scholar 

  12. D. Pountain. The Oberon/F System, Byte, January 1995.

    Google Scholar 

  13. M. Reiser: The Oberon System. User Guide and Programmer's Manual. Addison-Wesley, 1991.

    Google Scholar 

  14. B. C. Smith: Reflection and Semantics in a Procedural Language. PhD thesis, M.I.T., 1982.

    Google Scholar 

  15. C. Steindl: Entwurf und Implementierung einer Stücklistenverwaltung mittels einer Client/Server-Datenbank. Diploma thesis, University Linz, 1996.

    Google Scholar 

  16. C. Steindl: Accessing ODBC Databases from Oberon Programs. Johannes Kepler University Linz, System Software, Technical Report 9, Dezember 1996.

    Google Scholar 

  17. C. Steindl, H. Mössenböck: Metaprogramming Facilities in Oberon for Windows and Power Macintosh. Johannes Kepler University Linz, System Software, Technical Report 8, July 1996.

    Google Scholar 

  18. D. Stemple, R. Morrison, G.N.C. Kirby, R.C.H. Connor: Integrating Reflection, Strong Typing and Static Checking Proc. 16th Australian Computer Science Conference, Brisbane, Australia (1993), pp. 83–92.

    Google Scholar 

  19. M.A. Ellis, B. Stroustrup: The Annotated C++ Reference Manual. AT&T Bell Laboratories, Murray Hill, New Jersey, 1994.

    Google Scholar 

  20. J. Templ: Metaprogramming in Oberon. Dissertation, ETH Zurich, 1994.

    Google Scholar 

  21. D. Ungar, R. B. Smith: SELF: The Power of Simplicity. Proceedings of the OOPSLA'87 conference, Orlando, SIGPLAN Notices 22 (12), 1987.

    Google Scholar 

  22. N. Wirth, J. Gutknecht: The Oberon System. Software-Practice and Experience, 19(9), 1989, 857–893.

    Google Scholar 

  23. N. Wirth, J. Gutknecht: Project Oberon — The design of an operating system and compiler. Addison-Wesley, 1992.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Hanspeter Mössenböck

Rights and permissions

Reprints and permissions

Copyright information

© 1997 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Steindl, C. (1997). Reflection in Oberon. In: Mössenböck, H. (eds) Modular Programming Languages. JMLC 1997. Lecture Notes in Computer Science, vol 1204. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-62599-2_46

Download citation

  • DOI: https://doi.org/10.1007/3-540-62599-2_46

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-62599-5

  • Online ISBN: 978-3-540-68328-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics