Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/faq
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2002-02-10 04:18:22 +0300
committerMiguel de Icaza <miguel@gnome.org>2002-02-10 04:18:22 +0300
commit4c2ad5c231c8c698f6378722d320da14b4dde685 (patch)
tree09d87080197d4f8526a3cbd9908a504fbb6890af /doc/faq
parent0d69e304e997f1db4d292baa349211f41d3d4807 (diff)
Add Getting Started section from Nick
svn path=/trunk/mono/; revision=2284
Diffstat (limited to 'doc/faq')
-rw-r--r--doc/faq20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/faq b/doc/faq
index d1a2bd436c7..02a643fbe99 100644
--- a/doc/faq
+++ b/doc/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