This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Bindings (decompilation into Java)
- From: Jocelyn Paine <popx at j-paine dot org>
- To: "Hoehle, Joerg-Cyril" <Joerg-Cyril dot Hoehle at t-systems dot com>
- Cc: <kawa at sources dot redhat dot com>
- Date: Thu, 31 Jul 2003 13:53:04 +0100 (BST)
- Subject: Re: Bindings (decompilation into Java)
I've not tried with the code you're discussing here, but I found the Jad
decompiler useful when I needed to find out what Kawa was doing. If you're
interested, have a look at my message in
http://sources.redhat.com/ml/kawa/2001/msg00316.html (4th September 2001)
which gives links to it. I only tried a few pieces of Kawa, and didn't
find any sequences of code that Jad couldn't decompile.
Jocelyn Paine
http://www.j-paine.org
http://www.virtual-worlds.biz
+44 (0)7768 534 091
On Thu, 31 Jul 2003, Hoehle, Joerg-Cyril wrote:
> Chris Dean wrote:
> >- Compile the Scheme code to a .class file and decompile the code to
> > Java.
> I'm surprised that this works for you.
>
> I once tried decafe (a shareware tool) on a little Kawa code and found that there were instructions (bytecode sequences) that it could not turn into Java code.
>
> This came at no surprise to me because I did not expect every JVM code to be turnable into some Java code, especially when it comes from compiler of other languages, e.g. Scheme, Ada, Smalltalk etc.
> Like you cannot turn every assembler sequence into C code (but you can of course translate the underlying algorithms).
>
> Regards,
> Jorg Hohle.
>