FAQ Database Discussion Community


Is there a formal way of proposing/discussing changes to Clojure?

clojure,tacit-programming,reader-macro
Is there a formal way of proposing/discussing changes to Clojure?

Differences between Sharpsign Colon and Gensym

common-lisp,reader-macro
I've just been reading up on the sharpsign colon reader macro and it sounded like it had a very similar effect to gensym Sharpsign Colon: "introduces an uninterned symbol" Gensym: "Creates and returns a fresh, uninterned symbol" So a simple test CL-USER> #:dave ; Evaluation aborted on #<UNBOUND-VARIABLE DAVE {1002FF77D3}>....

Read input into string in Lisp reader macro

macros,common-lisp,reader-macro
I am trying to make a reader macro that would convert @this into "this". This is what I currently have: (defun string-reader (stream char) (declare (ignore char)) (format nil "\"~a\"" (read-line stream t nil t)) ) (set-macro-character #\@ #'string-reader ) The problem is that this requires that I put a...