Re: Request for Discussion: user created reader macros

2009-08-13 Thread Michele Simionato
On Aug 14, 2:47 am, Chas Emerick wrote: > On Aug 13, 2009, at 8:29 PM, Scott wrote: > > > A single "super quoted" string reader would avoid this problem. > > Instead of defining a new read syntax like: > > >  #my-syntax(your DSL goes between here and here) > > > Clojure could provide a general pu

Re: how does Clojure macros work?

2009-06-26 Thread Michele Simionato
On Jun 26, 3:51 pm, Rich Hickey wrote: > By using quote, and not syntax-quote, you have written an > intentionally capturing macro Acc, I missed that. I have read the documentation of syntax-quote now: "" For Symbols, syntax-quote resolves the symbol in the current context, yielding a fully-qu

Re: how does Clojure macros work?

2009-06-26 Thread Michele Simionato
On Jun 26, 9:53 am, Michele Simionato wrote: > I want to asset the status of Clojure > macros with respect to hygiene. Some further experiment: $ clj Clojure 1.1.0-alpha-SNAPSHOT user=> (def x 42) #'user/x user=> (defmacro m[] 'x) #'user/m user=> (m) 42 user=>

how does Clojure macros work?

2009-06-26 Thread Michele Simionato
he sense that I do not know of any other macro system working in the same way. Michele Simionato --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to