Oberon is a general-purpose, procedural programming language. Its type-safety and module consistency-checking features facilitate the development of secure and reliable software. Oberon includes low-level features that make it particularly suited to the development of real-time applications on ARM microcontrollers.
In addition to the usual range of programming language facilities Oberon features include:
- Type-extension capabilities
- Assertions
- Automatic array index checking
- IEEE Standard format REALs
- Version consistency and type-checking across modules
- Explicit low-level access to memory, registers etc.
- Read-only access to external variables
- Nested procedures
- Nested comments
The complete language syntax is shown here as a railroad diagram.
Documentation
The complete official definition of the latest revision of the Oberon language is included with Astrobe:
- The Programming Language Oberon by Prof Niklaus Wirth (PDF)
The following books are general Oberon programming texts which include numerous documented source code examples. Most of the OS-independent procedures should compile without modification using Oberon.
- Algorithms and Data Structures - Oberon Edition by Niklaus Wirth (PDF)
Many useful general programming examples - sorting, searching, linear lists, recursion, tree structures, hashing functions etc. All of the source code is presented in Oberon.
- Programming in Oberon - A Tutorial by Niklaus Wirth (PDF)
An introduction to programming in general, and a guide to programming in the language Oberon in particular. This edition describes the latest revision of Oberon as used in Astrobe.