Programming Languages Directory

Site Topics

C Programming Language
Assembling Computers
CIS
Computer Science Careers
Women and Computer Science
ADA Programming Language
ALGOL Programming Language
APL Programming Language
AWK Programming Language
Basic Programming Language
C++ Programming Language
COBOL Programming Language
Delphi Programming Language
Eiffel Programming Language
Euphoria Programming Language
Forth Programming Language
FORTRAN Programming Language
HTML Programming Language
ICON Programming Language
Java Programming Language
Javascript Programming Language
LISP Programming Language

 

The Oberon Programming Language

Free resources updated everyday:

XXXLINKSXX

The Oberon programming language is developed at Eidegnossishe Technische Hocsshule Zurich with means Swiss Federal Institute of Technology) in 1988, by Niklaus Wirth. Having an obsession with simplicity Wirth decided to include much of Pascal's syntax, while incorporating many of the object oriented features of Modula-2 (both of these languages were also created by Wirth). Oberon is considered to be heir to Modula-2.

Wirth'sgoal was to create a language that was exstensable and flexible. The result was a full object oriented language that was fit to accompany further development of Cres workstations.

Significant Language Features

  • Window-based graphical user interface as a blend of menus and command lines (the tool viewer)
  • Based on OOP concepts implementing viewers as well as texts and other documents as ADTs
  • Fast display refreshing and highly responsive to the user
  • Object oriented programming fully developed
  • Type extensions and text abstract data types
  • Fast compilation
  • Minimum implementation can fit into 200KB of memory (including operating system, complier and user interface)
  • Distinction between "Oberon Machine" and "Virtual Oberon Machine" is minimal

Areas of Application

  • Personal workstations
  • Education

Sample Program

Source Code: (Hello World)
(* This is designed to run Under Oberon V4 *)

MODULE Hello;
IMPORT Oberon, Texts;
VAR W: Texts.Writer;

PROCEDURE World*;
BEGIN
Texts.WriteString(W, "Hello World!");
Texts.WriteLn(W);
Texts.Append(Oberon.Log, W.buf);
END World;

BEGIN
Texts.OpenWriter(W);
END Hello.

Once this module is compiled, Executing the command Hello.World will print "Hello World!" to the system log.
This code demonstrates the usage of Oberon's Texts module. W is used as text writer stream. Output is displayed to the oberon's Log window by appending the buffer of the writer stream to Oberon.log.

This program tested on Oberon V4 Windows 32 bit version. When you create a new file Hello.Mod in Oberon's editor (Edit.Open Hello.Mod), select this text now and copy it it to the clipboard (File/Copy), paste it into Hello.Mod by placing the caret in that window and executing Clipboard.Copy command anywhere on the screen. Compiling is done by placing a marker (F1 key) on Hello.Mod window and running Compiler.Compile * in the System.Tool.

 

 

 

 

 

 

 

 

 


 



 

Site Topics

LOGO Programming Language
Mathematica Programming Language
MATLAB Programming Language
Miranda Programming Language
Modula-2 Programming Language
Oberon Programming Language
Pascal Programming Language
PERL Programming Language
PL/I Programming Language
Prolog Programming Language
Python Programming Language
REXX Programming Language
SAS Programming Language
Scheme Programming Language
SED Programming Language
Simula Programming Language
Smalltalk Programming Language
SNOBOL Programming Language
Database Programming Language
Visual Basic Programming Language
Visual C++ Programming Language
XML Programming Language

 

 

C Programming Language | Assembling Computers | CIS | Computer Science Careers | Women and Computer Science | ADA Programming Language | ALGOL Programming Language | AWK Programming Language | Basic Programming Language | C++ Programming Language | COBOL Programming Language | Delphi Programming Language | Eiffel Programming Language | Euphoria Programming Language | Forth Programming Language | FORTRAN Programming Language | HTML Programming Language | ICON Programming Language | Java Programming Language | Javascript Programming Language | LISP Programming Language | LOGO Programming Language | Mathematica Programming Language | MATLAB Programming Language | Miranda Programming Language | Modula-2 Programming Language | Oberon Programming Language | Pascal Programming Language | PERL Programming Language | PL/I Programming Language | Prolog Programming Language | Python Programming Language | REXX Programming Language | SAS Programming Language | Scheme Programming Language | SED Programming Language | Simula Programming Language | Smalltalk Programming Language | SNOBOL Programming Language | Database Programming Language | Visual Basic Programming Language | Visual C++ Programming Language | XML Programming Language | Home | Site Map