Hi All, That pascal class was horribly written with nested functions down to four or five levels! Imagine having to translate that without using nested functions. I worked around by using local classes and passed parameters with pointers.
Netman's frontend was written without using nested functions as I learnt my lesson to never again use them. Edward On 24/11/2015, Edward Bartolo <edb...@gmail.com> wrote: > Hi Aitor et al, > > What about directly translating the Object Pascal code into C instead > of doing a reimplementation of the logic? I remember, once I had a > Pascal class that took me six months to write which I translated into > C++ within a month. I think, this is the most practical approach. > > There are also Pascal into C translators which I am thinking of trying > although the translated code would still need inspection before > deployment. > > Edward > > > On 24/11/2015, Steve Litt <sl...@troubleshooters.com> wrote: >> On Tue, 24 Nov 2015 00:11:12 +0100 >> aitor_czr <aitor_...@gnuinos.org> wrote: >> >>> Hi Steve, >>> >>> I would argue that it's possible a "OOP" development without a OOP >>> language. >> >> Yes, that's one of the points I was making: You can do it in C. >> >>> >>> The "OOP" development is in the mind of the developer. >> >> True, and you never *really* realize that til you've programmed in >> Lua, where there are probably a half a dozen different ways to OOP. >> >> SteveT >> >> Steve Litt >> November 2015 featured book: Troubleshooting Techniques >> of the Successful Technologist >> http://www.troubleshooters.com/techniques >> _______________________________________________ >> Dng mailing list >> Dng@lists.dyne.org >> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng >> > _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng