vishapoberon / compiler

vishap oberon compiler
http://oberon.vishap.am
GNU General Public License v3.0
186 stars 25 forks source link

How far voc supports Oberon 7? #26

Closed snayaksnayak closed 8 years ago

snayaksnayak commented 8 years ago

Voc is a Oberon-2 compiler. Oberon-2 is a super set of Oberon. Oberon-7 used in Project Oberon 2013 is simpler than Oberon. How far voc supports Oberon 7? Any part of Oberon-7 is yet to implement?

norayr commented 8 years ago

voc is an Oberon-2 compiler.

currently, in the voc's source tree, there is an Oberon-7 compiler. It's just a port of the Project Oberon 2013's oberon-07 compiler, which can be run on Linux. It generates .rsc files that can be run on Oberon RISC hardware, or in Peter De Wachter's emulator.

As I've implemented a x86 backend for a very old version of that compiler, may be I'll try to connect it to this version one day, and also make a x86_64 version.

snayaksnayak commented 8 years ago

Wow. This is great news. You have x86 backend for old Oberon compiler. If it gets connected to Oberon 7, then one can simply program in Oberon 7 and get his program running on x86.

But is it that, Oberon 7 will stay for sometime...or Oberon 7 will evolve to Oberon 16 or Oberon 17? Looks like it will evolve...actually it is better if the language evolves, it will be much better and simpler...

norayr commented 8 years ago

I believe that today Oberon-2 is a most practical language (from Oberon family) for real life use. That's arguable, of course.

snayaksnayak commented 8 years ago

Oh, that's why I see many compilers available for Oberon-2 but hardly any for Oberon-7.

norayr commented 8 years ago

May be because it has long history, which implies legacy compilers, while the new language is just emerging, and still changes.