Source Generators in C# — Write Code That Writes Code

How Roslyn’s compile-time metaprogramming replaces boilerplate, and what a 1971 paper predicted about programs that write programs.