3 ms·
C# _does_ have a macro system. See https://dotnetfiddle.net/y3zFQ4 https://dotnetfiddle.net/y3zFQ4 for example. This has a macro called Foo which, when calls, p
by 1322322441 3y ago
C# _does_ have a macro system. See https://dotnetfiddle.net/y3zFQ4 https://dotnetfiddle.net/y3zFQ4 for example. This has a macro called Foo which, when calls, prints out the AST of the given expression. It could also manipulate part of the expression and evaluate it, if desired.