Hi,
I am currently developing an Oberon-07 compiler for Win64 platform. It is now pretty functional, and could
self-compile itself successfully. More info at:
https://github.com/congdm/AyaCompilerI consider my implementation of Oberon-07 as a questionable extension of original Oberon-07, but also a minimal workable subset of Free Pascal/Delphi, and finally, a refinement of Modula-2.
Is there any suggestions on which features to remove (or add)?
Thanks in advance.
-
Congdm
Roman M. писал(а):
Can you point which kind of sources your compiler able to compile?
Is there any documentation about implemented/missing features?
Documentation of module SYSTEM etc.
Hi,
It is only a way of saying of that the Delphi language is too complex and need to be reduced, so I think that the Oberon-07 with some extension for Win32 environment is an suitable candidate. But of course, the library codebase of Delphi/Free Pascal are clearly mature than Oberon. So my compiler isn't compatible with Pascal sources, sorry for confusing you.
As for SYSTEM module, it is the same as in Oberon-07 Report, with the additions of two WinAPI procedures: LoadLibraryW and GetProcAddress, in order to interface with other non-Oberon libraries.
As for missing feature, it is the Garbage Collector. Aside from that, I have fully implemented type extension, type test, runtime check, module key facility (MD5 hash),... Of course the compiler is still in beta stage, so there are still some bugs to clean. For more information, you can check my GitHub repo.
Regards,
Congdm