News for hackers. Stuff that matters.
Re:How Microsoft rewrote its C# compiler in C# and made it o... by louthy on Tuesday February 11, 2020 @02:24PM (#22301701)
I have a code-gen for records and discriminated unions [1] (as well as other useful features). It will generate a record-type at build-time (which includes the background build process in VS). All that's needed is a [Record] or [Union] attribute:

[1] https://github.com/louthy/language-ext/wiki/Code-generation

Re:How Microsoft rewrote its C# compiler in C# and made it o... by eropple on Tuesday February 11, 2020 @03:00PM (#22302171)
You just made my day. Not kidding. Thank you.