Questions tagged [oberon]

Oberon is a programming language created by Niklaus Wirth and his associates at ETH Zurich in Switzerland. It was developed as part of the implementation of the Oberon operating system. The language was extended to Oberon-2 with the collaboration of Hanspeter Mossenbock (now at the University of Linz).

Free Oberon Programming Book

Free Oberon-2 Programming Book

15 questions
6
votes
4 answers

Status of Oberon readiness for application programming

I am getting interested in the Oberon language and I would like to know: is the language actually used by common programmers or is it still only used by researchers? Is it production-ready? What I have in mind are non-scientific applications…
4
votes
1 answer

Oberon: How to resolve contradiction in Wirth's PIO re type guard

I am trying to figure out whether Oberon allows addressing of a field in a record that is not present in said record's type declaration, but only in one of its extensions and do so without a type guard. In PIO ("Programming in Oberon") page 62,…
trijezdci
  • 5,284
  • 2
  • 19
  • 15
3
votes
1 answer

Access QNX Filesystem in Windows

I have a QNX partition in a CF card, running on a SBC. How do I access the filesystem in Windows, using something like an Explorer interface? The filesystem is in QNX Oberon. I've also had QNX Momentics IDE but that is no help as well.
freonix
  • 1,605
  • 3
  • 22
  • 35
3
votes
1 answer

How does Oberon's object oriented model differ from standard OOP?

I've been reading Wirth's books on Oberon--or at least trying to--and I'm hitting a mental road block when it comes to figuring out what is going on regarding object oriented programming in Oberon. I know his method is supposed to simplify object…
clay
  • 1,757
  • 2
  • 20
  • 23
2
votes
3 answers

How is inheritance implemented in Ada and does it have built in GUI?

Does Ada come with built-in GUI, and does it have the same unique approach to inheritance as does Oberon?
W.K.S
  • 9,787
  • 15
  • 75
  • 122
2
votes
2 answers

Is there an Oberon-2 compiler for Windows that supports the XYplane module?

I'm currently using Oxford Oberon-2 compiler but it doesn't seem to support the XYplane module, which makes it kind of difficult to follow the examples from Wirth's book about the language.
GDI512
  • 183
  • 1
  • 9
2
votes
2 answers

Why are module and procedure names repeated after the body?

In Modula-2 and Oberon each module and procedure declaration must end with the name of the module or procedure. It is not needed in Pascal. I have never really understood the motivation for this. Can someone enlighten me?
August Karlstrom
  • 10,773
  • 7
  • 38
  • 60
1
vote
2 answers

"odd" expression in PL/0

Given the following EBNF grammar (found on wikipedia for PL/0), what is an expression preceded by the "ODD" keyword? I would like to implement the simple language as a small project but I can not seem to figure out what this means. Has anyone head…
Austin Henley
  • 4,625
  • 13
  • 45
  • 80
1
vote
1 answer

Can´t undertand 10th line instruction after inner FOR loop

I've been studying "Algorithms and Data Structures" by N.Wirth. He codes his algorithms in a language he created: Oberon. I finished the book but I have one doubt about this algorithim of page 19 coded in Oberon: PROCEDURE Power (VAR W:…
1
vote
1 answer

Where i can find Oberon modules for Ubuntu 16.04?

I read Niklaus Wirth book and want try examples from this book. And i try run simple Oberon hello world: http://groups.engin.umd.umich.edu/CIS/course.des/cis400/oberon/hworld.html#source But get error: $ obc -o hello Hello.m "Hello.m", line 4: the…
Hayate
  • 653
  • 1
  • 9
  • 25
1
vote
0 answers

Trying to resolve left-recursion trying to build Parser with ANTLR

I’m currently trying to build a parser for the language Oberon using Antlr and Ecplise. This is what I have got so far: grammar oberon; options { language = Java; //backtrack = true; output = AST; } @parser::header {package…
Mickey
  • 943
  • 1
  • 19
  • 41
0
votes
1 answer

Can't start a server in BlackBox

I'm trying to start a server in BlackBox and so far I have just this MODULE server; IMPORT Dialog,Strings,Win:=WinApi, Server:=CommObxStreamsServer, Stream:=CommStreams; BEGIN Server.Start(); Server.Stop(); END…
0
votes
1 answer

Type equivalence in Pascal-like languages

The Oberon-2 language report "The Programming Language Oberon–2" has the following definition in appendix A: Two variables a and b with types Ta and Tb are of the same type if Ta and Tb are both denoted by the same type identifier, or Ta is…
August Karlstrom
  • 10,773
  • 7
  • 38
  • 60
0
votes
2 answers

compile OpenBUGS 64-bit

I need to compile OpenBUGS on a 64-bit machine but its repository (http://sourceforge.net/projects/openbugs/develop) consists of a bunch of .ocf files. Where can I find a compiler that works on Linux to do the job?
Cetin Sert
  • 4,497
  • 5
  • 38
  • 76
0
votes
1 answer

Cannot run Oberon program in xds

I am trying to run Hello World program in Oberon in XDS compiler. I can compile the hello.ob2 file, I can make hello.ob2, however when I press run it says that there is no hello.exe file. I found at XDS manual that we have to do linking. It is not…
ulzhan
  • 143
  • 2
  • 2
  • 6