Turns out Swift scripting isn't there yet. Back to playgrounds.