On Feb 13, 2009, at 3:47 PM, Mark Volkmann wrote:

Is there a reason why it would be inadvisable or particularly
difficult to create a "cljc" script, short for "Clojure compile", that
would take a path to a Clojure source file and compile it to .class
files? It seems tedious to have to add ":gen-class" to the source
file, start a REPL, and enter a compile form.

The requirement that the destination dir exist and be in classpath at the time you launch the Clojure instance that does the compiling makes it a little difficult. It means you can't create the target, add it to classpath, and compile all in one Clojure instance. Should be a show- stopper though.

I don't see any reason why it would be inadvisable.

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to