In general, the bytecode the Clojure compiler produces is not directly 
transformable back into Java source by any decompiler I'm aware of.


On Wednesday, April 30, 2014 11:56:08 PM UTC-5, Andy Fingerhut 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 <julio...@gmail.com<javascript:>
> > 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 clo...@googlegroups.com<javascript:>
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com <javascript:>
>> 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+u...@googlegroups.com <javascript:>.
>> 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.

Reply via email to