Standalone Swift packages that verify compiler and runtime behaviour for the Swift Institute ecosystem — receipts for blog posts and research documents.
Each subdirectory is a Swift package isolating one hypothesis (a compiler behaviour, a language constraint, an architectural approach) with a runnable build readers can clone and verify. Multi-variant experiments encode related claims as separate targets within the same package.
When a blog post claims "the compiler rejects this pattern," the experiment proves it. When research says "approach A compiles but approach B does not," the experiment shows both.
The convention for this repository is documented at swift-institute.org. The companion research repository is at swift-institute/Research.
Each experiment is a standalone Swift package. Clone this repository and run swift build (or swift run) inside the experiment directory:
git clone https://github.com/swift-institute/Experiments.git
cd Experiments/{experiment-name}
swift build
Requires Swift 6.3 or newer.
The canonical browsable view of this corpus is the Experiments dashboard on swift-institute.org — filterable by status, category, and toolchain, with full-text search across directories and purposes.
_index.json is the authoritative manifest — one entry per experiment with purpose, date, toolchain, status, category, and cross-references.