4 ms·
Reader macros are also very handy. This is a feature unique to CL.
by lisper 15y ago
Reader macros are also very handy. This is a feature unique to CL.
- zephyrfalcon 15y agoThat doesn't seem correct. I know of at least two Scheme implementations that have reader macros (Racket and Chicken); there might be more. However, whether their reader macros are as powerful as CL's [1], I don't know. [1] as demonstrated e.g. here: http://letoverlambda.com/index.cl/guest/chap4.html http://letoverlambda.com/index.cl/guest/chap4.html
- lisper 15y agoThese are implementation-specific extensions, not part of Scheme. Scheme doesn't have e.g. a GUI either (neither does CL) notwithstanding that specific Scheme and CL implementations have GUIs. It's borderline trivial to add reader macros to any implementation of any dialect of Lisp, but only in CL can you count on having them available.
- KaeseEs 15y agoAre they coming to Clojure soon or did I misinterpret Rich Hickey's latest interview?
- snprbob86 15y agoHe was talking about "tagged literals", not general reader macros. See http://dev.clojure.org/display/design/Tagged+Literals http://dev.clojure.org/display/design/Tagged+Literals