[Oberon] Maintained open source Oberon/Oberon-2 compiler?

Alexander Iljin ajsoft at yandex.ru
Tue May 13 17:44:10 CEST 2014


Hello!

> Are there any somewhat recently maintaned open source compilers for Oberon/Oberon-2?
> The only one I found was Zonnon for .NET, which is great, but it is not a true Oberon compiler and
> does not compile to machine code.
> I also found XDS, but it seems to be only freeware, not open source.

  https://github.com/AlexIljin/oo2c
  https://github.com/AlexIljin/OPCL

> Another thing I wanted to ask was, when a variable is declared, is there a way to
> initialize it on decleration like in Free Pascal:
> VAR temp_int: INTEGER = 100;

  There is no such feature.

> If not, are declared variables initialized to a default value?

  No, except maybe pointer variables, which may or may not be initialized to NIL (I don't remember).

---=====---
 Александр



More information about the Oberon mailing list