Hacker News new | past | comments | ask | show | jobs | submit login
What are Lisp macros good for, anyway? (gitconnected.com)
2 points by tosh on Feb 8, 2020 | hide | past | favorite | 1 comment



The blog author is completely missing the angle that Lisp implementations are heavily built on macros. The ability of users to define macros is almost just a side effect that.

Without macros, the Lisp implementor would be stuck with making every necessary piece of syntax a "special form" that is built into the compiler (and separately into the interpreter, if there is one).

Pretty much no language that is some kind of Lisp will bootstrap without its macros.

Even if you don't write any macros in your own program, you will use the ones that make up the language.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: