Skip to main content

The Oberon-2 Reflection Model and its Applications

  • Conference paper
  • First Online:
Meta-Level Architectures and Reflection (Reflection 1999)

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

Included in the following conference series:

  • 210 Accesses

Abstract

We describe the reflection model of Oberon-2, a language in the tradition of Pascal and Modula-2. It provides run-time information about the structure of variables, types and procedures and allows the programmer to manipulate the values of variables. The special aspect of the Oberon-2 reflection model is that metainformation is not obtained via metaclasses. It is rather organized as structured sequences of elements stored on a disk, which can be enumerated by an iterator. This results in a simple and uniform access mechanism and keeps the memory overhead to a minimum. We also show a number of challenging applications that have been implemented with this reflection model.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Arnold K., Gosling J.: The Java Programming Language. Addison-Wesley, 1996

    Google Scholar 

  2. Attardi G., et al.: Metalevel Programming in CLOS. Proceedings of the ECOOP’89 Conference. Cambridge University Press, 1989

    Google Scholar 

  3. Database Language — Embedded SQL (X3.168-1989). American National Standards Institute, Technical Committee X3H2

    Google Scholar 

  4. Gamma E., Helm R., Johnson R., Vlissides J.: Design Patterns—Elements of Reusable Object-Oriented Software. Addison-Wesley, 1995

    Google Scholar 

  5. Hof M., Mössenböck H., Pirkelbauer P.: Zero-Overhead Exception Handling Using Metaprogramming. Proceeding of SOFSEM’97, Lecture Notes in Computer Science 1338, 1997

    Google Scholar 

  6. Hof M.: Just-In-Time Stub Generation, Proc. Joint Modular Languages Conference’ 97, Hagenberg, Lecture Notes in Computer Science 1204, Springer-Verlag, 1997

    Google Scholar 

  7. Knasmüller M.: Oberon-D, On Adding Database Functionality to an Object-Oriented Development Environment, Dissertation, University of Linz, 1997

    Google Scholar 

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

    Google Scholar 

  9. Miller W.M.: Exception Handling without Language Extensions. Proceedings of the USENIX C++ conference, Denver CO, October 1988

    Google Scholar 

  10. Mössenböck H., Koskimies K.: Active Text for Structuring and Understanding Source Code SOFTWARE-Practice and Experience, 26(7): 833–850, July 1996

    Google Scholar 

  11. Mössenböck H., Wirth N.: The Programming Language Oberon-2. Structured Programming, 12(4):179–195, 1991

    Google Scholar 

  12. Obiltschnig G.: An Object-Oriented Interpreter Framework for the Oberon-2 Programming Language, Diploma Thesis, University Linz, 1998

    Google Scholar 

  13. Steindl Ch.: Accesing ODBC Databases from Oberon Programs. Report 9, University of Linz, Institute for Practical Computer Science, 1996

    Google Scholar 

  14. Steindl Ch., Mössenböck H.: Metaprogramming facilities in Oberon for Windows and Power Macintosh. Report 8, University of Linz, Institute for Practical Computer Science, 1996

    Google Scholar 

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

    Google Scholar 

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

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Mössenböck, H., Steindl, C. (1999). The Oberon-2 Reflection Model and its Applications. In: Cointe, P. (eds) Meta-Level Architectures and Reflection. Reflection 1999. Lecture Notes in Computer Science, vol 1616. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-48443-4_4

Download citation

  • DOI: https://doi.org/10.1007/3-540-48443-4_4

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-66280-8

  • Online ISBN: 978-3-540-48443-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics