logoalt Hacker News

Gödel, Escher, Elisp: The Beauty of Macros

29 pointsby JNRowe08/04/20269 commentsview on HN

Comments

mekentoday at 3:52 PM

> To anticipate a common question: why couldn't my-unless be a function? Function arguments are evaluated eagerly, before the function ever sees them.

Interesting, so if you’re using a lazy language then you don’t need a macro here and could write my-unless as a function.

show 3 replies
thisisauseridtoday at 4:39 PM

I always thought it odd that Penrose gets dropped from the Escher conversations.

kimitoday at 3:50 PM

Remember the golden rule of Lisp macros: don't write a macro.

show 1 reply
KeenanKeenantoday at 3:45 PM

If macros can implement arbitrary language features then how come elisp has never built a type system?

show 3 replies