Maybe I am blind, but I can't find in the Free Pascal source file implementations of Classes and some other units like System. Mostly, but not only, I am interested in TObject, TPersistent and TControl code code. I searched both in Lazarus and FP sites on SourceForge. My problem is that the file list is quite large. Google refused to search because of robots.txt.
There is a lclclasses.pas unit, but it is not what I'm looking for - in the uses block it is referring to Classes, but there is no file (I mean I couldn't find it) like "classes.pas".
Here I found the TControl implementation, but that's too far in the hierarchy.
On this page there is an information that the TPersistent is defined in "classesh.inc" and I downloaded sources and it really is in rtl\objpas\classes\classesh.inc, however, it seems that this file is only interface part of the unit.
I tagged this question as "delphi" too, because in fact if there is some open source code for Delphi, I could also accept. If the implementation of this base classes TObject and TPersistent is some kind of built-in feature (the System unit is, I think), I can also take a look at C (or any other language) sources.
Could anybody help me to find implementation of Classes units and the objects defined there?