News for hackers. Stuff that matters.
Re:Ask HN: Guide for Implementing Common Lisp by Jtsummers on Thursday February 01, 2024 @11:02PM (#39224866)
Read macros are processed at read time, the result is a change to the way the `read` function operates. The output is a lisp object.

On Lisp Ch 17, page 224: https://sep.turbifycdn.com/ty/cdn/paulgraham/onlisp.pdf

CLTL2 Section 22.1.1: https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node188.html#... - Goes into a lot of detail on how the reader works.

The macros most people mean when they talk about Lisp macros are discussed in CLTL2 Ch 8. They are expanded during evaluation or compilation.

CLTL2 CH 8: https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node97.html

Read macros are able to produce (or not produce) lisp objects by taking control of the stream processing for some period of time.

There are no comments on this comment yet.