さて、ついにSwiftがOSS化しましたね!
いつになることやら、、、と待っていたら急にOSS化されてびっくりしました。
とりあえずSwiftと名のつくリポジトリを全部クローンしました。
git clone https://github.com/apple/swift.git
git clone https://github.com/apple/swift-clang.git
git clone https://github.com/apple/swift-evolution.git
git clone https://github.com/apple/swift-package-manager.git
git clone https://github.com/apple/swift-corelibs-foundation.git
git clone https://github.com/apple/swift-corelibs-libdispatch.git
git clone https://github.com/apple/swift-llvm.git
git clone https://github.com/apple/swift-corelibs-xctest.git
git clone https://github.com/apple/swift-llbuild.git
git clone https://github.com/apple/swift-cmark.git
git clone https://github.com/apple/swift-3-api-guidelines-review.git
git clone https://github.com/apple/swift-lldb.git
clangやllvm、lldbなども公開されていますね。。。これは面白くなりそうです。
まず普段使っているSwiftのコアなAPIを覗いてみます。
swift.git
の stdlib/public/core
に色々あります。
...
Optional.swift
...
String.swift
...
おお、、、感動!
これから暇な時にSwiftの実装を読み、わかったことを投稿していきたいと思います。