While I procrastinate working on a real article about C# Source Generators, here's a fun toy to play with: https://github.com/c-xc-c/brainfucs
Paste any brainfuck code in to src/Example/Brainfuc#/
and suddenly
you can call into it from Program.cs
under
Brainfucs.Brainfuck.{FileName}
! Magic!