[swift-evolution] Custom annotation processors?

Chris Lattner clattner at apple.com
Thu Jan 21 23:07:21 CST 2016


> On Jan 21, 2016, at 9:45 AM, Fons Rademakers <Fons.Rademakers at cern.ch> wrote:
> 
> Hi Chris,
> 
>  many thanks for the pointer. Will there also be a method or function calling interface, so interfaces can be discovered and called at run-time. Something we abundantly use via the Cling interpreter.

There will certainly be a reflection API at some point, but it hasn’t been scheduled.  I’ve been working under the assumption that it won’t fit into Swift 3, but we’ll see how things go.  Once the metadata format is nailed down, it can be added at any time.

-Chris


More information about the swift-evolution mailing list