[swift-users] Using Swift for interpreted shell scripts?
jens at mooseyard.com
Tue Dec 15 14:28:43 CST 2015
Swift doesn’t seem like a good fit for the kinds of tasks people write shell-scripts for. It’s a system/app programming language, like C/C++. Scripting languages have extremely dynamic typing, super-high-level APIs, and no separate compile/link stage.
There’s no reason you couldn’t convert some shellscripts as an exercise to learn Swift, but I don’t think you’ll find many resources out there.
More information about the swift-users