You can run Project Oberon with this emulator (pre-built binaries available): https://github.com/pdewacht/oberon-risc-emu
You can run Project Oberon with this emulator (pre-built binaries available): https://github.com/pdewacht/oberon-risc-emu
This includes my own Oberon-07 compiler targeting the JVM: https://github.com/lboasso/oberonc
For example the Oberon definition below:
DEFINITION MathUtil;
PROCEDURE ln(x : REAL) : REAL;
END MathUtil.
exposes the Java MathUtil.ln() static method: public class MathUtil {
public static float ln(float x) {
return (float) java.lang.Math.log(x);
}
}
A client module can use now the Java implementation of ln: MODULE Client;
IMPORT MathUtil;
VAR x: REAL;
BEGIN
x: = MathUtil.ln(2.0);
MathUtil.ln()
END Client;
For a complete example see https://github.com/lboasso/oberonc/tree/master/examples/fern > DEFINITION
I am not sure, but would a MODULE only containing declarations (and no or empty body) also work, syntactically?Bluebottle OS, which introduced the variant known as Active Oberon, made use of multithreading in form of active objects, a concept similar to goroutines.
Its compiler Paco, is one of the first multithreaded compilers I know of.
SSL was not yet a thing when Oberon was popular in the mid-90's, so I don't remember if the browser of the time supported it.
Network programming was a mix of Ethernet and Oberon own protocols, there was support for network printing and file shares.
All books that Wirth wrote about Oberon were written using the text editors of the OS.
It looks like there's a box there but I can't click it.