Daniel Rall writes:
 > This is for whoever was asking about a Java/C gadget.
 > http://www.irisa.fr/compose/harissa/

Nah, this is Java to C. 

What I want is a stock dumb tool that automatically
creates an ugly Java source from a C source. The
idea is to map all C functions to static methods
of a class C, map all structs to classes with
public fields, put it all in one package, and be
done.

Part of the deal is that only a subset of C can be
used - a limited number of external functions, no
pointer arithmetics, the works.

Yes, this is not a bright idea. Sometimes there are
no good solutions.

I would ask for a C-to-bytecode compiler if I dared.
I'll leave it at this, followups only by private e-mail.


                                          b.


  • Java/C Daniel Rall
    • Bernd Kreimeier

Reply via email to