Is Oberon as simple as possible? A smaller object-oriented language based on the concept of module type
The design of the programming language Oberon was led by the quote by Albert Einstein: ‘make it as simple as possible, but not simpler’. The objective of this paper is to analyze some design solutions and propose alternatives which could both simplify and strengthen the language without making it simpler than possible.
The paper introduces one general concept, the module type, which can be used to represent records, modules, and eventually procedures. Type extension is redefined in terms of component nesting and incomplete designators. As a result, type extension supports multiple inheritance.
KeywordsModule Variable Module Type Pointer Variable Pointer Type Record Type
Unable to display preview. Download preview PDF.
- 1.M. Reiser, N. Wirth: Programming in Oberon. Steps beyond Pascal and Modula. Wokingham: Addison-Wesley 1992Google Scholar
- 2.N. Wirth: The Programming Language Oberon. Software — Practice and Experience 18, 671–690 (1988)Google Scholar
- 3.N. Wirth: Type Extensions. ACM Transactions on Programming Languages and Systems 10, 204–214 (1987)Google Scholar
- 4.H. Moessenboeck, J. Templ: Object Oberon — A Modest Object-Oriented Language. Structured Programming 10, 44–46 (1989)Google Scholar
- 5.H. Moessenboeck: The Programming Language Oberon-2 Report. Computer Science Report 160, ETH Zurich 1991Google Scholar