168 karma · joined Jul 24, 2014 (12y ago) · 58 submissions
comment 3y ago · link · parent
"Wirth’s magnum opus is the quintessential example of Computer Science alternative-history world-building."
Note that Oberon was not only the name of a programming language, it was also the name of an innovative (at that time) operating system. It is possible to program real-world programs today in Oberon depending on the used implementation. For example oberonc [1] is a compiler targeting the JVM and allows you to leverage the JVM ecosystem by invoking Java code (or any other language that compiles to Java bytecode). For more Oberon implementations see [2]
[0] http://blog.fogus.me/2015/04/27/six-works-of-computer-scienc...
comment 3y ago · link · parent
[0] https://www.research-collection.ethz.ch/bitstream/handle/20....
comment 3y ago · link · parent
BTW I really like the design of Virgil described in "Harmonizing Classes, Functions, Tuples,and Type Parameters in Virgil III", bravo!
comment 3y ago · link · parent
[0] https://github.com/lboasso/oberonc/blob/master/doc/Moe00b.pd...
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 6y ago · link · parent
When I read this book I had an hard time running and compiling the source code included. If you want to read the book and try out the example compiler (oberon0), you can follow the instructions here: https://github.com/lboasso/oberon0. You just need a JVM >= 8 and the oberonc compiler: https://github.com/lboasso/oberonc
comment 7y ago · link · parent
comment 7y ago · link · parent
We often forget this alternative way (with its pros and cons).
comment 7y ago · link · parent
Yes, you can write small Oberon-0 programs and compile them with an Oberon-07 compiler, but it is simpler to just use the Oberon-0 compiler from the repo above.
comment 7y ago · link · parent
Oberon-0 is too limited to easily bootstrap itself. I wrote oberonc first in Java and then I rewrote it in Oberon-07 for the final bootstrap step. Oberon-0 is a toy subset of the full Oberon-07 language.
comment 7y ago · link · parent
If you have a JVM installed, you could use oberonc[0]. I have a local branch where I test that each release of the compiler can compile and run the examples in that book.
comment 8y ago · link · parent
comment 8y ago · link · parent
[0] https://web.stanford.edu/~ouster/cgi-bin/papers/tcl-usenix.p...
comment 8y ago · link · parent
[0] https://web.stanford.edu/~ouster/cgi-bin/papers/tcl-usenix.p...
comment 8y ago · link · parent
comment 8y ago · link · parent
[0] https://www.amazon.com/Philosophy-Software-Design-John-Ouste...
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
Initially the project was written in Java, after enough features were working the bootstrap phase could start.
comment 8y ago · link · parent
The first Java client jit compiler, was developed by Robert Griesemer (former PhD student of Wirth). The design of the compiler is described in the paper "A compiler for the java hotspot virtual machine", published in the same book: "The School of Niklaus Wirth: The Art of Simplicity".