
The goal of XMLVM is to provide a flexible and extensible cross-compiler. Unlike code-level cross-compilers, XMLVM cross-compiles byte-code instructions with Sun Microsystem's virtual machines and Microsoft CLR.
The advantage of this approach is that the byte-code instructions are easier to cross-compile, and the complexity of parsing a high-level language is left to the regular compiler. In XMLVM, byte-code-based programs are plain XML files. It allows you to manipulate and translate XMLVM programs using advanced XML technologies such as XSLT, XQuery and XPath.
XMLVM has
several projects under its wing. For any project in the first place, the Java class file or the .NET executable file is
translated into an XML document . Using front-end generated XML document, you can perform various transformations. The first conversion can cross-compile.
NET to JVM bytecode . Another transformation allows you to cross-compile Java or .NET applications into
JavaScript , which can easily be executed as AJAX in any browser. Another transformation allows cross-compiling a
Java application in Objective-C , to create a native iPhone application.
')
Not only that, you can
cross-compile the Android application to run on the iPhone.
With detailed information, graphs, examples, you can find on
the project website.