Re: [swift-corelibs-dev] Need of inputs for NSExpression

2017-01-18 Thread Tony Parker via swift-corelibs-dev
ift.org> wrote: - > To: Nethra Ravindran <mailto:nethraravindra...@gmail.com>> > From: Tony Parker via swift-corelibs-dev > Sent by: swift-corelibs-dev-boun...@swift.org > <mailto:swift-corelibs-dev-boun...@swift.org> > Date: 01/12/2017 09:44PM > Cc: s

Re: [swift-corelibs-dev] Need of inputs for NSExpression

2017-01-16 Thread Pushkar N Kulkarni via swift-corelibs-dev
Hi Tony, I have a question. >> Some of it is pretty tricky to implement without the dynamic behavior of ObjC though.I guess you were referring to something like "NSExpression(format:"FUNCTION(4.2, 'factorial')")" where `factorial` is a function defined on an extension of NSNumber. Now, this transla

Re: [swift-corelibs-dev] Need of inputs for NSExpression

2017-01-12 Thread Tony Parker via swift-corelibs-dev
Sure! We can have a discussion here about what you’ve done, or if you are feeling up to it, you can put up a PR with some of your code. Keep in mind that our #1 goal is API compatibility with the Darwin Foundation, so while it’s tempting to reinvent the thing from scratch to make it better for

Re: [swift-corelibs-dev] Need of inputs for NSExpression

2017-01-12 Thread Atharva Vaidya via swift-corelibs-dev
Hello all, I've tried to port NSExpression to Swift with a very crude, non-complete, untested, and possibly incorrect implementation. Here's the link to the repo: https://github.com/AtharvaVaidya/Expression . I would love to contribute to this effo

Re: [swift-corelibs-dev] Need of inputs for NSExpression

2017-01-12 Thread Tony Parker via swift-corelibs-dev
Hi Nethra, Thanks for your interest! Probably the best place to get started would be to take a look at our documentation about NSExpression. Some of it is pretty tricky to implement without the dynamic behavior of ObjC though. - Tony > On Jan 12, 2017, at 4:24 AM, Nethra Ravindran via swift-c