I'm happy to release clj-java-decompiler[1] today, a wrapper around Procyon[2] Java decompiler. With it, you can cut the feedback loop of writing a file, AOT-compiling it, and then running the classes through a decompiler to a single call in the REPL.
user> (clj-java-decompiler.core/decompile (loop [i 100, sum 0] (if (< i 0) sum (recur (unchecked-dec i) (unchecked-add sum i))))) // ... Output trimmed public static Object invokeStatic() { long i = 100L; long sum = 0L; while (i >= 0L) { final long n = i - 1L; sum += i; i = n; } return Numbers.num(sum); } You can read more about my motivation, usage scenarios, and other information regarding Java decompilers in my post "Introspection tools: Java decompilers"[3]. Hope you enjoy! [1] https://github.com/clojure-goes-fast/clj-java-decompiler [2] https://bitbucket.org/mstrobel/procyon [3] http://clojure-goes-fast.com/blog/introspection-tools-java-decompilers/ -- 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.