Hey Craig, I've been experimenting with anonymous functions in FPC and have working code, but they're not at all like what Delphi provides:
https://github.com/tangentstorm/tangentlabs/blob/master/pascal/funops.pas (On the other hand, they require 0 compiler changes...) I asked about lambdas in the IRC channel a few months back, and Sven told me someone had started work on anonymous methods sometime in the past, but the work sort of stalled out. If you're interested in funding this and nobody else pipes up, I'm interested in implementing it. It's something I've been wanting to do anyway, but I just haven't had the time/energy to dig into the FPC internals. On Thu, May 15, 2014 at 12:05 AM, Craig Peterson <cr...@scootersoftware.com>wrote: > Hi all, > > What's the current state of FPC's anonymous functions/closures support? > Is anyone working on it? Is it something that a bounty would help with? > > Thanks, > Craig Peterson > Scooter Software > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal