[Mono-list] Fw: [Mono-patches] mono/doc java
Gaurav Vaish
Gaurav.Vaish@iitk.ac.in
Mon, 15 Apr 2002 22:11:37 +0530
----- Original Message -----
From: "Miguel de Icaza" <miguel@mono-cvs.ximian.com>
To: <mono-patches@ximian.com>
Sent: Monday, April 15, 2002 17:51
Subject: [Mono-patches] mono/doc java,NONE,1.1 plans,NONE,1.1 download,1.45,1.46
index,1.98,1.99 runtime,1.25,1.26
: * Java
:
: It would be interesting to support the Java language as part
: of the Mono project.
I don't know what ideas do you have in mind. But since a lot material for
java is already available as byte-code, it may be useful to plug-in the jilc
(Java to IL Compiler: only for java-bytecode) somewhere as a part of Mono. (I'd
love that)
Currently, I have the jilc on the savannah, but I am planning to move it to
sourceforge (savannah has no stats).
Right now I don't support java source files as such, only byte-code. Right
now, I am stuck at the IL_code generation. Myself and Abhaya are taking care of
this module..
http://savannah.gnu.org/projects/jilc
http://home.iitk.ac.in/student/gvaish/jilc
Cheers,
Gaurav Vaish
http://home.iitk.ac.in/student/gvaish
http://calendar.yahoo.com/mastergaurav
---------------------------------
:
: You have to think of Java as various pieces: Java the
: language and Java the virtual machine.
:
: It is possible to compile Java to .NET, as shown by the
: Microsoft J# compiler. We could then allow the migration of
: Java applications to the Mono runtime.
:
: ** The translator.
:
: It would be interesting to write a semantic translator that
: converts java byte codes into CIL opcodes. This is possible
: because the Java byte codes are a subset of the CIL ones.
:
: A semantic tree needs to be constructed (very much in the
: spirit of what is done in mono_analize_stack in
: <tt>mono/mono/jit/jit.c</tt>. Once such a semantic tree is
: constructed, we could generate the equivalent Java code.
:
: This has a number of interesting side effects: people can
: continue to use their existing Java compilers to compile their
: code, and a simple tool that converts their .class files into
: a .NET assembly can be used.