3 ms·
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, b
by shakna 2mo ago
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.
- jeandrek 2mo agoIt does not. https://conservatory.scheme.org/schemers/Documents/Standards/R5RS/HTML/r5rs-Z-H-5.html#%_chap_2 https://conservatory.scheme.org/schemers/Documents/Standards... Particular implementations could.
- shakna 2mo agoThat document, shows several forms: https://conservatory.scheme.org/schemers/Documents/Standards/R5RS/HTML/r5rs-Z-H-10.html#%_sec_7.3 https://conservatory.scheme.org/schemers/Documents/Standards...
- jeandrek 2mo agoCommon 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/Body/glo_r.html#reader_macro 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.
- deleted 2mo ago[deleted]