Quoth Aaron Cohen on Setting Orange, the 63rd of The Aftermath:
> One thing I'd really want before I even considered using this would
> be some way of restricting the scope of a reader macro to the
> current file. As is, they just have way too much room to interfere
> with your whole world. I'm not sure if that's possible without
> modifying clojure.core though.

That's a great idea; I notice lots of interesting things in LispReader
[1] are static, though. If you could synchronize on read, I suppose,
it might be possible to modify the read-tables; read; and reset the
read-tables.

Footnotes: 
[1]  
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/LispReader.java#L82

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to