Hi,

Am 03.12.2008 um 18:24 schrieb Stephen C. Gilardi:
Would it make sense to add a :gen-class declaration and have the
-main function automatically call the repl function? This would make
launching the repl less painful for new-comers.
It is a good idea and I'll work on it. What I do at the moment is have
a small script that does what the "-e" commands do in my post. I give
the path to that script as an argument to clojure.main.

I tried to trace down, what happens before we enter the Repl.
The only points I noticed were setting the namespace to user
and setting the command-line-args. I wrote a simple main to
do this. Patch attached. To be started with clojure.contrib.repl_ln.
Note: _ instead of -.

Sincerely
Meikel

Attachment: repl-main.patch
Description: Binary data


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

Reply via email to