This new tutorial series is just what you’re looking for.
Brian Gesiak has started a new tutorial series called Getting Started with Swift Compiler Development, with the first part already covering setting up your environment, building your own copy of the Swift compiler, and added a small change to get things started.
It’s certainly true that compiler development isn’t easy, but Brian has such as a relaxed style that it’s hard not to get sucked in:
The wall of text from the backtrace is intimidating at first, but no worries: in upcoming posts, I'll explain what each portion of the Swift compiler does. In the end, the Swift compiler is just a command-line program; there's nothing magical or scary about it.
Brian is well known in the Swift community, having already done a huge amount of work towards porting Swift to Android, and if you want to read more in this compiler series you should consider supporting him on Patreon.
Delving into the Swift compiler is something that has been on my mind for a while now, and this tutorial makes it look so easy – it will be interesting to see what gets covered in future installments!
SAVE 20% ON iOS CONF SG The largest iOS conference in Southeast Asia is back in Singapore for the 5th time in January 2020, now with two days of workshops plus two days of talks on SwiftUI, Combine, GraphQL, and more! Save a massive 20% on your tickets by clicking on this link.
Paul Hudson is the creator of Hacking with Swift, the most comprehensive series of Swift books in the world. He's also the editor of Swift Developer News, the maintainer of the Swift Knowledge Base, and a speaker at Swift events around the world. If you're curious you can learn more here.