A technical demonstration of Embedded Swift running on Game Boy Advance.
- Download and install a Swift nightly toolchain from the Swift.org downloads page.
- Download
gba-llvm-devkit
from the releases page. - Set
GBA_LLVM
in your environment to the path to the downloaded devkit (export GBA_LLVM=<path to>/gba-llvm-devkit-1-Darwin-arm64
). cd
into one of the examples and runmake
.- Open the compiled
.gba
rom in a Game Boy emulator.