Re:Four features that justify a new Unix shell
by TylerE on Friday October 23, 2020 @08:42PM
(#24875926)
It's lispy in what it can do, not in having a rat's nest of parens, true.
I'd love a concrete example of a macro you could express in lisp and not in nim.
But it's macros absolutely operate on a syntax tree - refer to https://nim-lang.org/docs/tut3.html#introduction-the-syntax-...
In any case, macros are not what draw me to Lisp, but its unparalleled combination of ease of use, readability, and power... along with 70 years of development and tooling.
So I could just use a Lisp or Scheme, which I do. They can be plenty fast too (see Chicken, for instance, which -- like Nim -- compiles down to C).