> 1. Can I have compile time evaluation forms like in Lisp? For example,
> I want to obtain current namespace during macro expansion, or make
> Java imports in compile time. Is it possible?

You can evaluate whatever you like at macroexpansion time. I don't  
think there's an equivalent to eval-when, but you can check the value  
of *compile-files*:

clojure.core/*compile-files*
nil
   Set to true when compiling files, false otherwise.

Clojure always compiles (just like SBCL).

> 2. Can I precompile Clojure code (not generated classes) and load
> precompiled version instead of text script?

http://clojure.org/compilation

--~--~---------~--~----~------------~-------~--~----~
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