[omochi@omochi-iMacPro bin]$ clang -o swift-aaa aaa.c [omochi@omochi-iMacPro bin]$ ./swift-aaa [0] ./swift-aaa [omochi@omochi-iMacPro bin]$ swift aaa [0] /Users/omochi/Dropbox/bin/swift-aaa [omochi@omochi-iMacPro bin]$ swift aaa x y z [0] /Users/omochi/Dropbox/bin/swift-aaa [1] x [2] y [3] z [omochi@omochi-iMacPro bin]$ cat aaa.c #include <stdio.h> int main(int argc, char *argv[]) { for (int i = 0; i < argc; i++) { printf("[%d] %s\n", i, argv[i]); } return 0; }