There is a standalone compiler that runs without the REPL:
clojure.lang.Compile.  The best examples of using it are the Ant
build.xml files for Clojure and clojure-contrib.

If I have time tomorrow I'll try to post a more detailed how-to.

-Stuart Sierra


On Jan 15, 6:53 pm, linh <nguyenlinh.m...@gmail.com> wrote:
> Hi!
> I've had no experience in Lisp or clojure before. I've only worked
> with Java and Ruby, so this question may seem stupid. Is there any way
> to run a clojure app without REPL?
>
> For example something like: clojure my_app.clj
>
> I've read that you can compile clojure with the comile function, but
> this function must be called from a clojure application since it's a
> clojure function, am I right or wrong?
>
> Thanks,
> Linh
--~--~---------~--~----~------------~-------~--~----~
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
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