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).
On 04 Dec 2015, at 00:32, email@example.com wrote:
From: Dave Thornton <firstname.lastname@example.org <mailto:email@example.com>>
Date: 4 December 2015 at 00:22:10 GMT+1
To: firstname.lastname@example.org <mailto:email@example.com>
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