Hacker News new | ask | show | jobs
by TylerE 1384 days ago
And anyway modern languages have proven that you don't need S-Exps for powerful hygenic macros.

E.g. sees Nim's take on it: https://nim-lang.org/docs/tut3.html

1 comments

Dylan also did this, in the 90s, that's not a new idea. Who has been saying you need s-exprs for hygienic macros?
All the lisp advocates, generally.
Some Lisp advocates may tell you that Lisp even does not have hygienic macros. Lisp dialects like Scheme have. Lisp usually has procedural macros, which transform source code (in the form of nested lists), not ASTs (like Nim).

That Nim has 'powerful hygienic macros' is fine, many languages have powerful macros.