Hello -- I would like to use Clojure to build a safe code-remoting 
application for query injection (moving queries closer to the data for 
affinity and privacy). One alternative for this application is to read 
Clojure code from strings WITHOUT evaluating it, then analyze the presented 
code and / or eval it with a custom eval function in a sandbox. It's easier 
to do this in Clojure than in JavaScript because it's easier to write a 
custom eval in Clojure than in JavaScript. 

One problem with my plan is that the #= reader macro evaluates the code at 
read-time, before I have a chance to analyze or sandbox it. The workarounds 
seem to be disabling or removing the #= reader macro or writing my own 
custom reader (in addition to a custom evaluator).

I'd be grateful for guidance and advice. 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to