Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

It has eval but it lacks reader macros (or at least it did thirty years ago) which is what makes eval useful on lisp2 systems.


I'm interested in reading more about how reader macros make `eval` better/useful.


R5RS supports reader macros? Which would be 1998, and I guess only 28 years ago.

That's why SRFI-49 and its descendants were a possibility. Wisp, JavaScript, brainfuck, etc. implementations all exist because the tools exist in the language.


It does not. https://conservatory.scheme.org/schemers/Documents/Standards... Particular implementations could.



Common Lisp reader macros hook into the reader itself as it's parsing S-exps and meets some character combination: http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec... Define-syntax is for making special forms (i.e. normal macros).

Not that I know why eval should be paired with reader macros.




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

Search: