Project Oberon - The Design of an Operating System, a Compiler, and a Computer
inf.ethz.ch
inf.ethz.ch
> The decision for a new processor was expedited by the possibility to implement it, that is, to make it concrete and available. This is due to the advent of programmable gate arrays (FPGA), allowing to turn a design into a real, functioning processor on a single chip. As a result, the described system can be realized using a low-cost development board. This board, Xilinx Spartan-3 by Digilent, features a 1-MByte static memory, which easily accommodates the entire Oberon System, incuding its compiler. It is shown, together with a display, a keyboard and a mouse in the photo below.
http://www.inf.ethz.ch/personal/wirth/Oberon/index.html
I suppose one could email Dr. Wirth asking for the source code but in reality, you'd be better off forking a newer version of Oberon. It should be as easy to port as a compiler can be.
Oberon-2 language has Pascal-like syntax, with Java-like features (classes, single inheritance, interfaces, garbage collector, sane module system instead of includes). Unlike Java, no VM is required, at least in the system that I used. Like Java and unlike C, it is impossible to write unsafe code accidentally - you have to go out of your way to access unallocated memory regions or break type safety.
Decent module system and straightforward grammar has also allowed writing simple and very fast compilers. It was fun to work with.
Not sure about EthOS though.
Having said this, I really enjoyed it working with Oberon, it showed to me how one can implement a fully working desktop system in a GC enabled systems programming language.
I have used the original version, System 3 and Active Oberon aka AOS.
Sadly the industry is still stuck in C land for such tasks.
Very nice indeed.
So far it's a wonderful read, and a good example of thoughtful systems design... Incidentally, it's also shows one of the real benefits of Literate Programming, cause although the source itself doesn't really concern me, the text is gold.
I think Oberon system is worth of study.