aesthetic changes
[mono.git] / web / faq
diff --git a/web/faq b/web/faq
index 6f9f4b25dddba84cf365123b503c2ed2d301f65c..02a643fbe99a40727263ea50ac2dd2f9e1cd987f 100644 (file)
--- a/web/faq
+++ b/web/faq
@@ -461,6 +461,26 @@ A: Yes, Java could target the CLI.  We have details on a <a
    Microsoft has an implemenation of the Java language called J# that
    can target the CIL execution engine. 
 
+Q: Is it possible to write a JVM byte code to CIL convertor?
+
+A: Yes, it is possible.  Here are a few starting point:
+
+       <ul>
+               * A byte code representation is really a flattened forest of
+                 trees.  Look at the Mono JIT engine to see how we compute
+                 the basic blocks (this is used to figure out the "trees").
+
+                 The forest is just an array of trees.
+
+                 Indeed, run the JIT engine with -d (mono -d prog.exe) and
+                 you will see how these trees look like.
+
+                 You will have to do something similar for Java.
+
+               * Each "forest of trees" has a meaning.  This meaning can now
+                 be translated into the equivalent "meaning" in CLR-land.
+       </ul>
+
 <a name="extending"></a>
 ** Extending Mono
 
@@ -607,7 +627,7 @@ A: The C# Compiler is released under the terms of the <a
    href="http://www.opensource.org/licenses/lgpl-license.html">GNU
    Library GPL</a>.  And the class libraries are released
    under the terms of the <a
-   href="www.opensource.org/licenses/mit-license.html">MIT X11</a>
+   href="http://www.opensource.org/licenses/mit-license.html">MIT X11</a>
    license.
 
 Q: I would like to contribute code to Mono under a particular