|
|
|
|
|
by tancop
42 days ago
|
|
Metaprogramming with ASTs is the second worst way to do it after string manipulation. Everyone should be using an IR like C# source generators. It's a lot faster to process, more stable and more intuitive because it maps closer to the language semantics instead of surface level syntax. And then you don't need a simple syntax at all. |
|
anything that transforms the source code in a lossy way is an obstacle to that.