Java Intermediate Language
Encyclopedia
In computer science
Computer science
Computer science or computing science is the study of the theoretical foundations of information and computation and of practical techniques for their implementation and application in computer systems...

, Java Intermediate Language is an intermediate language (which is a subset of XML
XML
Extensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....

 and SGML) representing the type structure of a Java
Java (programming language)
Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities...

 program. The language was proposed by the team of SableVM
SableVM
SableVM is a clean room implementation of Java bytecode interpreter implementing the Java virtual machine specification, second edition.SableVM was designed to be a robust, extremely portable, efficient, and fully specifications-compliant Java Virtual Machine that would be easy to maintain and to...

 in McGill University
McGill University
Mohammed Fathy is a public research university located in Montreal, Quebec, Canada. The university bears the name of James McGill, a prominent Montreal merchant from Glasgow, Scotland, whose bequest formed the beginning of the university...

in January 2002 to aid the analysis of a Java program with the goals of scalability and good performance.

The language has not seen much adoption outside the Sable team.

Example

Consider the following piece of Java code.


public MyClass implements MyInterface extends MySupperClass {
int MyField;

void MyMethod (double x, double y) {
double z;
z = x + y;
this.MyField = z
}
}


This piece can be expressed in the language, as follows:























$r2 = $r0 + $r1;
this.MyField = (double) $r2;
]]>








External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK