Sagewire Logo

Converter: C struct to JAVA class

2 Message(s) by 2 Author(s) originally posted in java software tools


From: Michael Wiedmann Date:   Friday, May 25, 2007
Any hint for a tool which'd it make easy to convert automatically a
whole bunch of C structs to JAVA classes?

TIA
Michael


From: Ira Baxter Date:   Wednesday, May 30, 2007
wrote in message

Any hint for a tool which'd it make easy to convert automatically a
whole bunch of C structs to JAVA classes?



You need a full C parser with name and type resolution,
and the ability to generate JAVA code from same.

See http://www.semanticdesigns.com/Products/FrontEnds/CFrontEnd.html
for an appropriate parser, and the related discussion on the underlying
DMS Software Reengineering Toolkit.

Contact me offline for any further discussion.

--
Ira Baxter, CTO
www.semanticdesigns.com



Next Message: which s/w tools should I use?


Blogs related to Converter: C struct to JAVA class

OE8BitImage to PNG
OEChem is a chemistry library supporting chemical informatics, molecular modeling and similar fields. It's in C++ with bindings for Python, Java and perhaps others. For the work I do it is the most powerful toolkit available. ...

Community Day 2007 Experiences
Java EE 5 includes some lesser known specifications such as JAX RPC 1.1. In Java EE 5 the deployment descriptor and RMI implementation simply becomes an annotation attached to a method on a class. He borrowed a quote of Bill Shannons ...

java faqs
Ans: a) Integer is a class defined in the java.lang package, whereas int is a primitive data type defined in the Java language itself. Java does not automatically convert from one to the other. b) Integer can be used as an argument for ...

Collections Drill - I
The Arrays class in java.util provides a series of sort() methods for sorting arrays. If the array is an array of primitives or an array of a class that implements Comparable then you can just call the method directly: ...

Second Perl 6 Microgrant - Phil Crow on Java to Perl 6 declaration ...
Phil is the hacker behind the Java::Swing module which allows Perl programmers to put a Java Swing GUI on their application without writing any Java and he'll be using this knowledge to convert Java declarations to Perl 6. ...

Second Perl 6 Microgrant - Phil Crow on Java to Perl 6 declaration ...
One would use the Java deparser (part of its standard development kit) to turn Java classes or interfaces into an internal structure * The other half would turn that structure into valid Perl 6. Note that it would only translate class ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional