1322322441
Re:Macro-ts: TypeScript compiler with typesafe syntactic macros (2022)
on Tuesday May 30, 2023 @02:48AM (#36121850)
C# _does_ have a macro system. See 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.