This idea about an Oberon front-end is <very> interesting. I second that
idea!
Thierry
Hans-Peter Diettrich wrote:
Alexander Klenin schrieb:
I would ask to implement modern delphi language features like:
- anonymous methods
- for-in loop
- class constructors and destructors
- support for strict private and strict protected sections
- abstract and sealed classes
- class const, class var, class type, class property
Anyway, sooner or later delphi developers will use them more and
more and
there will be a need to port that code to fpc.
These are obvious candidates for me too, but although they are good
projects,
they are rather hard -- for advanced students only.
ACK, all these tasks required deep insight into the existing compiler
code and data structures :-(
Perhaps a somewhat simpler goal: add the new Attributes syntax to the
parser, and check for possible implementations. I don't understand the
hype and problems with these new attributes - is it really more than
adding an Attributes:TStrings property to TObject?
And another one: an Oberon front-end for FPC! {$mode OBERON}
The language should be close enough to Pascal, so that the
implementation of the parser should not be a big deal. More difficult:
the interface to the existing compiler.
There is much room for sub-projects, like garbage collection.
The same for other languages (Java, C...). Wouldn't it be nice to have
a C front-end or {$MODE C} for opening the world of existing C code
(at least: header files) to FPC? See my ToPas project on SourceForge,
that implements an preprocessor and parser for C, written in Delphi
OPL - it could be extended by an interface to the FPC compiler.
DoDi
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus