Overview
|
The goal of XMLVM is to offer a flexible and extensible cross-compiler toolchain. Instead of cross-compiling on a source code level, XMLVM cross-compiles byte code instructions from Sun Microsystem's virtual machine and Microsoft's Common Language Runtime. The benefit of this approach is that byte code instructions are easier to cross-compile and the difficult parsing of a high-level programming language is left to a regular compiler. In XMLVM, byte code-based programs are represented as XML documents. This allows manipulation and translation of XMLVM-based programs using advanced XML technologies such as XSLT, XQuery, and XPath.
XMLVM serves as an umbrella for several projects. For all projects, a Java class file
or a .NET executable is first translated to an XML-document.
Based on the XML-document generated by the front-end, various transformations are possible. The first transformation
cross-compiles from .NET to JVM byte code. Another transformation enables Java or .NET applications to
be cross-compiled to JavaScript so that they can run as
AJAX applications in any browser. Yet another transformation allows to cross-compile a Java program to
Objective-C to create a native iPhone application.
|
|