SwiftScript

Swift can already be used as a scripting language on OS X. Just chmod+x and shebang the file (#!/usr/bin/env xcrun swift -i).

As for using it on iOS and the web in the same way as JavaScript/ECMAScript, I personally think Swift is too young for that. IIRC, the authors wanted to go for systems programming next. But I certainly hope Swift’s popularity explodes into all kinds of domains and environments. :-)

···

On 04 Dec 2015, at 00:32, swift-evolution-request@swift.org wrote:

From: Dave Thornton <dave.thornton@me.com <mailto:dave.thornton@me.com>>
Date: 4 December 2015 at 00:22:10 GMT+1
To: swift-evolution@swift.org <mailto:swift-evolution@swift.org>
Subject: [swift-evolution] SwiftScript

Swift is great. I'd like to see a syntactically equivalent script language available for OS X, iOS and other platforms.

This is a big task, and one that probably falls way outside of the objectives of the core swift language evolution.

But... Does anyone else think it's a good idea / bad idea? How and where should we start ?

Sent from my iPad