Better HN
top
new
best
ask
show
jobs
Log in
Sign up
1322322441
4 karma · joined May 30, 2023 (3y ago) · 1 submissions
Submissions
comment 3y ago ·
link
·
parent
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.