[fpc-devel] delphi 2010/XE/XE2 - like rtti and "packages"
Dimitri Smits
smitco at telenet.be
Thu Aug 11 17:14:59 CEST 2011
----- "Sven Barth" <pascaldragon at googlemail.com> schreef:
> Am 11.08.2011 16:38, schrieb Dimitri Smits:
> > once I get a tree-hierarchy of module/package<->units<->typeinfos
> > working, I intend to go on with the RTTI unit implementation and
> > subsequent questions on that topic.
>
> Please note that for a fully compatible implementation of the RTTI
> unit
> you'll need generic methods (and maybe a working Create for records,
> don't remember that...). I plan to work on these once I've finished
> implementing the Delphi compatible generic syntax in my branch.
>
> Regards,
> Sven
that's why I wrote the "first off". generics are for somewhat further down the road. First implementation of the rtti unit would omit/replace the TArray<T> dynamic arrays. (as well as TCustomAttribute and the newer TVirtualMethodInterceptor and Aspect-Oriented-stuff)
first phase for me would be: can I get a set/linked-list of loaded package(s)/module(s) and from there the units in them, and from them the PInfoType data in them. And for that there is a need for what I asked first.
Sven, just out of curiosity: is there a rough ETA for the Delphi compatible generic syntax finalization in trunk?
kind regards,
Dimitri Smits
More information about the fpc-devel
mailing list