Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xenophonf
on June 2, 2016
|
parent
|
context
|
favorite
| on:
Show HN: Full Stack Lisp – A book in progress abou...
Do you mean reader macros? Those are used to implement new kinds of syntax within Common Lisp's parser, the READ function. Even standard parts of Common Lisp syntax are defined this way, such as quote (') or backquote (`).
For more examples, see
http://lisper.in/reader-macros/
.
aidenn0
on June 3, 2016
[–]
Actually the entirety of Common Lisp's parser except for numbers, symbols, and the consing dot are implemented as read macros.
xenophonf
on June 3, 2016
|
parent
[–]
It's been a while since I looked at the spec, but I think the dot as used in cons cells is part of the left-parenthesis reader macro.
aidenn0
on June 3, 2016
|
root
|
parent
[–]
http://www.lispworks.com/documentation/HyperSpec/Body/02_cc....
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
For more examples, see http://lisper.in/reader-macros/.