I've used procyon
https://bitbucket.org/mstrobel/procyon/wiki/Java%20Decompiler
It decompiles all of clojure.core and produces nicely laid out code (see
below).
package clojure;
import clojure.lang.*;
public final class core$first extends AFunction
{
public Object invoke(Object coll) {
final Object x = coll;
coll = null;
return RT.first(x);
}
}
Phil
Andy Fingerhut <[email protected]> writes:
> 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 <[email protected]> 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 [email protected]
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> [email protected]
>> 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 [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
--
Phillip Lord, Phone: +44 (0) 191 222 7827
Lecturer in Bioinformatics, Email: [email protected]
School of Computing Science,
http://homepages.cs.ncl.ac.uk/phillip.lord
Room 914 Claremont Tower, skype: russet_apples
Newcastle University, twitter: phillord
NE1 7RU
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.