Re: Swift & AppleScript
Re: Swift & AppleScript
- Subject: Re: Swift & AppleScript
- From: Alastair Leith <email@hidden>
- Date: Wed, 04 Jun 2014 16:07:24 +1000
One of the most exciting things for casual programers (like me) about swift is playgrounds, I think. I got back into coding via Apples Quartz Composer framework which has realtime evaluation of any change you make to the inputs or the patches or noodles (wires and nodes in generic language). It's fantastic for new coders to quickly "what-if" your way thru dozens of syntactical/structural guesing.learning.at.the.same.time work.
Vuo which is an open source attempt at leap-froging many of the structural deficiencies (and problems of neglect from Apple which QC suffers from) that use LLVM to run code with messaging that lets you change the code as it's evaluating, I guess playgrounds is using the same feature of LLVM. It can then compile that code to native bit-code.
Alastair
On 3 Jun 2014, at 2:21 pm, Shane Stanley <email@hidden> wrote:
> On 3 Jun 2014, at 10:11 am, John Day <email@hidden> wrote:
>
>> How does Swift fit into the picture with ASObj-C ?
>
> At this stage at least, it probably doesn't at all. ASObjC is a way of calling methods on Cocoa classes; what's done with the results of doing that is standard AS. You use repeat loops, not for loops, you concatenate strings with &, etc, etc. Many of things that Swift looks to be bringing to the programming table are irrelevant in the context of bridging to AppleScript. Of course it could all change some way down the track, but at this point it would seem a lot of effort for not a lot of reward.
>
> On the other hand, some kind of "do Swift script" command might have interesting possibilities...
>
>
> --
> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden