You could also check https://github.com/galdolber/clojure-objc, which uses a modified Clojure compiler to output Java source instead of bytecode. It's been subsequently modified to work with ObjC, I'm not sure whether that affects its ability to execute the program as Java or not.
On 1 May 2014 16:56, Andy Fingerhut <andy.finger...@gmail.com> wrote: > Leiningen can convert Clojure source code to Java .class files (compiled > Java byte code, not Java source code), with the help of the Clojure > compiler. > > I don't know of a way Leiningen can convert that to Java source code, > unless there is some feature of Leiningen I haven't learned about yet, or > some plugin that does that. > > There are several programs out there, some open source, some commercial, > that can decompile Java byte code files into Java source code, of varying > quality. I have used a trial version of the AndroChef Java Decompiler 1.0 > a few times in the past, and found its results better than one other open > source Java decompiler I tried (I don't remember what that was called right > now). > > http://www.neshkov.com/ac_decompiler.html > > Andy > > > On Wed, Apr 30, 2014 at 7:05 PM, Julio Berina <juliober...@gmail.com>wrote: > >> I've been programming a bit in Clojure, and in my opinion it's like >> making Java programs without typing long Java because of it running on the >> JVM. However, I wanna be able to convert my Clojure code to Java code. I >> know Leiningen can do that, but I am really clueless at this point, and I >> don't know what other programs out there will convert Clojure to Java >> .class file. Does anyone have any tips? >> >> -- >> 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/d/optout. >> > > -- > 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/d/optout. > -- 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/d/optout.