Swift Abstract Syntax Tree

Swift compiler has an interesting mode: -dump-ast which outputs the abstract syntax tree of a swift source code. AST is used to represent the source code in form of a tree containing syntactic information.

Preview into Unit testing via Swift Package Manager

Swift Package Manager just went through a massive refactoring and adds support for testing using XCTest on OSX and Linux. It is not yet available on the latest snapshot but we can always try it out by building swiftpm.

The self-hosted Swift Package Manager

Swift Package Manager is itself a swift package containing 6 targets :

Exploring Swift Dictionary's Implementation

Swift Dictionary :