“Swift can be used as a scripting language … it’s possible that Apple will anoint it as the Mac’s scripting language of choice at some point in the future.”

Link. Replace AppleScript.