From: Markus H. <ma...@ti...> - 2009-10-19 10:25:33
|
Hi, Maybe this could be a starting point: http://code.google.com/p/jnaerator/ It parses c and ObjC headers and generates wrappers for java. I wanted to try it with xmlvm, but haven't found the time yet. Markus Am Montag, den 19.10.2009, 11:19 +0200 schrieb Arno Puder: > > Panayotis Katsaloulis wrote: > > Now, about parsing the ObjC binary - I don't think this is the > > direction to go on. I find it safer to parse .h files from the SDK, > > since this is the actual "showcase" of the application. > > well, I would argue that it is generally easier to parse binaries > (especially when you have a powerful reflection mechanism) than source > code (that is also the reason why we read byte codes and not Java source > code in XMLVM). Think about the nasty things you can do even in ObjC .h > files: from pre-processing directives to constant expressions. All that > goes away if you parse the binary versions of the libraries. > > A small prototype might be an interesting first step to evaluate the > complexity of the various approaches. > > Arno > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |